Created
October 3, 2017 14:44
-
-
Save larryebaum/e02262ba850a724bd612f3406d94e88a to your computer and use it in GitHub Desktop.
Chef Automate Supermarket Cert Append for SSL Issue with Self Signed Cert
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
# on Supermarket server | |
sudo su - | |
echo "\nSelf-Signed Chef Server Cert (you should feel bad about this)\n=====================" >> /opt/supermarket/embedded/ssl/certs/cacert.pem | |
openssl s_client -showcerts -connect phl-du-cfbc1.devfwh.lan:443 </dev/null 2>/dev/null|openssl x509 -outform PEM >> /opt/supermarket/embedded/ssl/certs/cacert.pem | |
# on Chef Server | |
sudo su - | |
echo "\nSelf-Signed Supermarket Cert (you should feel bad about this)\n=====================" >> /opt/opscode/embedded/ssl/certs/cacert.pem | |
openssl s_client -showcerts -connect phl-du-cfsm1.devfwh.lan:443 </dev/null 2>/dev/null|openssl x509 -outform PEM >> /opt/opscode/embedded/ssl/certs/cacert.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment