Skip to content

Instantly share code, notes, and snippets.

View kajih's full-sized avatar

Johan Häggqvist kajih

View GitHub Profile
@AAber
AAber / FreeSSLcertificate2JavaKeystore.sow.txt
Last active March 24, 2020 06:56
Create and add free letsencrypt certificate to any Java application keystore (Nexus 3.2.0 docker keystore)
## == Certificate for any setup for free (4 months) == ##
## 1. Open http and https from all the world to the host
## == For openvpn server == ##
# systemctl stop openvpnas.service
## 2. Become root and run let's encrypt docker tool
$ sudo -i
# export LETSENCRYPT_EMAIL=info@mydomain.com
# export DNSNAME=myhost.mydomain.com