Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 696 Bytes

README.md

File metadata and controls

31 lines (23 loc) · 696 Bytes

LetsEncrypt for shared hosting installer

Mounts your remote FTP server and performs a SSL certificate generation that could be submitted manually or via cPANEL.

Requirements

  • letsencrypt-cli
  • python2-selenium
  • chromium web browser
  • curlftpfs

Generating a certificate

cp ENV-example ENV
nano ENV
./mount.sh
./generate-cert.sh

Important files that are generated:

  • Certificate: cert.pem
  • Private key: key.pem

Updating certificate in cPANEL:

sudo docker run -d -p 4444:4444 -v /dev/shm:/dev/shm selenium/standalone-chrome-debug:3.0.1-carbon
source ENV && export $(cut -d= -f1 ENV) && python2 cpanel-import-cert.py