stevejenkins / unifi-linux-utils

Helpful Linux / Unix scripts for admins of Ubiquiti (UBNT) UniFi wireless products
https://www.stevejenkins.com/blog/tag/unifi/
MIT License
695 stars 127 forks source link

unifi_ssl_import.sh: "unable to import the certificate into keystore" #27

Closed lkellar closed 5 years ago

lkellar commented 5 years ago

When running unifi_ssl_import.sh, it runs through everything fine, until it tries to import the cert authority into the keystore.

Importing SSL certificate into UniFi keystore...

Importing certificate authority into UniFi keystore...

Unable to import the certificate into keystore

Removing temporary files...

Restarting UniFi Controller to apply new Let's Encrypt SSL certificate...

Done!

Even though it says it's done, the controller is inaccessable.

I'm running Unifi Controller 5.9.29 on Raspbian 9.4

Any help would be greatly appreciated, thanks!

est-it commented 5 years ago

28

This Script should solve the issue. I'd cleared my browser files too.

http://controler:8080 redirects to https://controller:8443 then.

lkellar commented 5 years ago

@est-it Thank you so much! It worked!