Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the default certificate as it expired today #287

Open
samontab opened this issue Mar 13, 2023 · 0 comments · May be fixed by #289
Open

Update the default certificate as it expired today #287

samontab opened this issue Mar 13, 2023 · 0 comments · May be fixed by #289

Comments

@samontab
Copy link

The current default certificate is expired as of today:

wget https://raw.githubusercontent.com/chris-belcher/electrum-personal-server/master/electrumpersonalserver/certs/cert.crt
openssl x509 -enddate -in cert.crt

notAfter=Mar 12 00:07:58 2023 GMT

This means that every person using the default cert will not be able to connect from today, as seen here.

starius added a commit to starius/electrum-personal-server that referenced this issue Mar 14, 2023
Followed commands from
chris-belcher#286 (comment)

$ openssl genrsa -des3 -passout pass:x -out server.pass.key 2048
$ openssl rsa -passin pass:x -in server.pass.key -out server.key
$ rm server.pass.key
$ openssl req -new -key server.key -out server.csr
$ openssl x509 -req -days 1825 -in server.csr -signkey server.key -out server.crt
Signature ok
subject=C = US, ST = California, L = Sunnydale, O = Buffy The Vampire Slayer, CN = electrum-server.tld
$ openssl x509 -enddate -in server.crt
notAfter=Mar 12 07:34:45 2028 GMT
$ mv server.key cert.key
$ mv server.crt cert.crt

Fix chris-belcher#287
@starius starius linked a pull request Mar 14, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant