CLI command for RSA-2048 bit key in AWS IOT

0

Hi AWS,

There is CLI command for private key and public key in AWS IOT on cloud9 as

aws iot create-keys-and-certificate --set-as-active --certificate-pem-outfile certificate.pem.crt --private-key-outfile private.pem.key

But if I need to get the RSA-2048 bit key I am downloading it manually from Certificate section. Is there a CLI command for RSA-2048 bit key generation, I am unable to view one.

Please help me to get CLI command for RSA-2048 bit key in AWS IOT

2回答
0

Hi Balaji,

with the above command you are mentioning you are storing the RSA private key in the file private.pem.key. Or are you looking for something else?

Cheers,
Philipp

AWS
エキスパート
回答済み 5ヶ月前
  • Hi AWS team, Please help me to get CLI command for RSA-2048 bit key in AWS IOT?

0

Hi Balaji,

in case you are looking for an option to download the private key from the AWS IoT Core service, that's not possible. The private key is only issued once when you call the command and never stored. This is also mentioned in the documentation:

Note This is the only time IoT issues the private key for this certificate, so it is important to keep it in a secure location.

Cheers,
Philipp

AWS
エキスパート
回答済み 5ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ