Skip to content

Scripts to allow easy import of LE certs into keystore for Unifi on Linux

Notifications You must be signed in to change notification settings

mtan93/unifi-letsencrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

unifi-letsencrypt

Scripts to allow easy import of LE certs into keystore for Unifi on Ubuntu/Debian after use of certbot.

Script was designed to avoid:

Warning:
The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore /var/lib/unifi/keystore -destkeystore /var/lib/unifi/keystore -deststoretype pkcs12".

after running certbot (Please make sure that your certs were placed in /etc/letsencrypt/live/yourdomain.name/ and not /etc/letsencrypt/live/yourdomain.name-0001,2,3,etc/.)

 

Paste into terminal/ssh:

 

wget https://raw.githubusercontent.com/mtan93/unifi-letsencrypt/master/unifi_le.sh && chmod +x unifi_le.sh && ./unifi_le.sh

 

Then simply enter your domain name (without http/s) when asked to do so and the script will do the rest for you.

About

Scripts to allow easy import of LE certs into keystore for Unifi on Linux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages