Gallery

Gallery.

SSL

Let’s Encrypt

# Need python2
git clone https://github.com/letsencrypt/letsencrypt
cd letsencrypt
./letsencrypt-auto certonly --standalone -d test.datalayer.io
# key: /etc/letsencrypt/live/test.datalayer.io/privkey.pem
# cert: /etc/letsencrypt/live/test.datalayer.io/fullchain.pem

Self-signed Certificate

keytool -keystore datalayer.jks -alias datalayer -genkey -keyalg RSA -sigalg SHA256withRSA -validity 365
keytool -keystore keystore -alias doc-api -genkey -keyalg RSA
keytool -keystore keystore -alias doc-api -genkey -keyalg RSA -sigalg SHA256withRSA
keytool -keystore keystore -alias doc-api -genkey -keyalg RSA -sigalg SHA256withRSA -ext 'SAN=dns:doc.datalayer.io,dns:*.datalayer.io'

Certificate Authority Signed Certificate

keytool -certreq -alias datalayer -keystore datalayer.jks -file datalayer.csr

Load Certificate

keytool -keystore datalayer.jks -import -alias datalayer -file certificate.crt -trustcacerts