Created
January 28, 2017 15:55
-
-
Save izhaomin/18ce2782d39b275a7439005b6dc79a1f to your computer and use it in GitHub Desktop.
Bring your own keystore to UniFi Controller
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#set export password as aircontrolenterprise | |
openssl pkcs12 -export -in unifi.crt -inkey unifi.pem -out unifi.p12 -name unifi -CAfile chain.crt -caname root -chain | |
keytool -importkeystore -deststorepass aircontrolenterprise -destkeypass aircontrolenterprise -destkeystore keystore -srckeystore unifi.p12 -srcstoretype PKCS12 -srcstorepass aircontrolenterprise -alias unifi | |
mv keystore /usr/lib/unifi/data/keystore |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment