Quantcast
Channel: Cloudbase Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 5

Comment by avladu for What about the existing Keypair I created via OpenStack Horizon and downloaded .pem with Private kay, Is there any solution to export Private Key from .pem and import into my local Windows computer certificates?

Next: Answer by JobbO for I try to follow instruction on "Windows authentication without passwords in OpenStack" but it seems like it is missing instruction for Import Key Pair via OpenStack Horizon. After I run script create-winrm-client-cert.sh I have got 2 files winrm_client_cert.pem winrm_client_cert.pfx I need to export Public key from winrm_client_cert.pem by this OpenSSL command openssl x509 -pubkey -noout -in winrm_client_cert.pem -out pubkey.pem Then I try to import this public key to my project: -----BEGIN CERTIFICATE----- MIIDIjCCAgqgAwIBAgIJAPb3vERlPtSwMA0GCSqGSI...... ............+0rcoyVMWNI50SrXPWpX6uaIuyWsN1Vc -----END PUBLIC KEY----- but I encountered with “Unable to import key pair” when trying to import the Key Pair via the  OpenStack Horizon same as this link https://schwulet.wordpress.com/2016/0... Please can you let me know what did I missing?
Previous: Answer by Claudiu Belu for I try to follow instruction on "Windows authentication without passwords in OpenStack" but it seems like it is missing instruction for Import Key Pair via OpenStack Horizon. After I run script create-winrm-client-cert.sh I have got 2 files winrm_client_cert.pem winrm_client_cert.pfx I need to export Public key from winrm_client_cert.pem by this OpenSSL command openssl x509 -pubkey -noout -in winrm_client_cert.pem -out pubkey.pem Then I try to import this public key to my project: -----BEGIN CERTIFICATE----- MIIDIjCCAgqgAwIBAgIJAPb3vERlPtSwMA0GCSqGSI...... ............+0rcoyVMWNI50SrXPWpX6uaIuyWsN1Vc -----END PUBLIC KEY----- but I encountered with “Unable to import key pair” when trying to import the Key Pair via the  OpenStack Horizon same as this link https://schwulet.wordpress.com/2016/0... Please can you let me know what did I missing?
$
0
0
Hello, after all I know, there is no such transformation possible between the keys, and if it exists, it is not implemented in OpenStack or cloudbase-init. I suggest to you using either userdata scripts, either the x509 key type feature in Nova. Thank you, Adrian Vladu.

Viewing all articles
Browse latest Browse all 5

Trending Articles