Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- use scp (winscp or whatever) to place .pfx into /root, position into /root (i.e. cd /root)
- /opt/vmware/vcloud-director/jre/bin/keytool -trustcacerts -deststoretype JCEKS -srcstoretype pkcs12 -srckeystore /root/new.pfx -destkeystore 1newcertificates.ks -storepass [password] -importkeystore
- /opt/vmware/vcloud-director/jre/bin/keytool -list -storetype jceks -keystore 1newcertificates.ks
- /opt/vmware/vcloud-director/jre/bin/keytool -changealias -storetype jceks -alias 1 -destalias http -keystore 1newcertificates.ks
- /opt/vmware/vcloud-director/jre/bin/keytool -list -storetype jceks -keystore 1newcertificates.ks
- /opt/vmware/vcloud-director/jre/bin/keytool -keyclone -storetype jceks -alias http -destalias consoleproxy -keystore 1newcertificates.ks
- /opt/vmware/vcloud-director/jre/bin/keytool -list -storetype jceks -keystore 1newcertificates.ks
- cd /opt/vmware/vcloud-director/bin
- service vmware-vcd stop
- mv /opt/vmware/vcloud-director/jre/bin/1newcertificates.ks 1newcertificates.old
- mv /root/1newcertificates.ks /opt/vmware/vcloud-director/jre/bin/1newcertificates.ks
- ./configure
- (point it to /opt/vmware/vcloud-director/jre/bin/1newcertificates.ks, use [password] from the start store)
- https://vcdcellx
- Verify new cert is in place
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement