fxbox / registration_server

The registration server to help with foxbox discovery
4 stars 4 forks source link

Add a chain cert #19

Open michielbdejong opened 8 years ago

michielbdejong commented 8 years ago

We can probably use http://ironframework.io/doc/openssl/ssl/struct.SslContext.html#method.set_certificate_chain_file or similar.

michielbdejong commented 8 years ago

Right now, we're running the https server with only /etc/letsencrypt/live/knilxof.org/cert.pem and /etc/letsencrypt/live/knilxof.org/privkey.pem, we should also add /etc/letsencrypt/live/knilxof.org/chain.pem.

samgiles commented 8 years ago

Ah, this is easy enough to do, well spotted! We will need to use the forked Iron we have in fxbox/foxbox though to achieve this.

ferjm commented 8 years ago

This causes the following error on Nightly:

knilxof.org:4443 uses an invalid security certificate.