Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save bjornbouetsmith/04a5dba353b879c6afa203ef0c7c9764 to your computer and use it in GitHub Desktop.
Save bjornbouetsmith/04a5dba353b879c6afa203ef0c7c9764 to your computer and use it in GitHub Desktop.
VIC Certs
When creating VIC server with pasted in certs from vsphere it get garbled somehow,
causing the server not to be able to start the admiral service on the vic server
with an error similar to:
start_admiral.sh[8031]: Exception in thread "main" java.lang.RuntimeException: Failed to read PKCS#8 PEM file. file=/configs/server.key
So ssh to the vic server and fix the certs.
when connected:
1. cd /storage/data/certs/
2. edit server.key, server.crt, ca.crt and remove all data and paste in the text versions from the .crt files you should have somewhere.
3. wait for admiral to start.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment