servus icon indicating copy to clipboard operation
servus copied to clipboard

I can't get the ssl certificate

Open sch1z00 opened this issue 1 year ago • 4 comments

My servus works on a raspberry with an associated dyndns address, I imagine that the nostr relay that it makes available on the network is traceable only if associated with an ssl certificate. Unfortunately I can't get the certificate either using the sudo options --ssl-acme[-production] --contact-email <contact_email> or through the acme.sh script (I don't know which directory to put in acme.sh --issue -d example.com -w /home/wwwroot/example.com, I tried with /.../sites/localhost but it doesn't work, with a classic /var/www/html it works)

sch1z00 avatar Nov 26 '24 11:11 sch1z00

Any news?

sch1z00 avatar Feb 17 '25 18:02 sch1z00

Is your Raspberry accessible from the internet? Can you try connecting to it using the public IP from your mobile connection rather than from your WiFi? Note: many ISPs these days don't give you an actually public IP unless you call them and request one - by default they just put you behind some NAT.

ibz avatar Feb 18 '25 20:02 ibz

I don't know which directory to put in acme.sh

Use standalone mode then you don't need any directory, since it will just listen on port 80 without needing another web server.

ibz avatar Feb 19 '25 19:02 ibz

I finally got a valid certificate through https://letsencrypt.org/ and now servus starts correctly

sch1z00 avatar Mar 06 '25 12:03 sch1z00