I've created a key pair in AWS KMS, and now I need to generate a x509 certificate from it. I've tried to convert PEM key which I got from get-public-key
command:
$ openssl x509 -inform pem -in public_key.pem -text
But I got an error:
unable to load certificate
4637654700:error:09FFF06C:PEM routines:CRYPTO_internal:no start line:/AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/libressl/libressl-56.40.4/libressl-2.8/crypto/pem/pem_lib.c:684:Expecting: TRUSTED CERTIFICATE
Is there a way to do it at all with AWS KMS?
question from:
https://stackoverflow.com/questions/65926228/how-to-generate-x509-certificate-from-a-aws-kmss-public-key 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…