A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.aws.amazon.com/iot/latest/developerguide/create-device-cert.html below:

Create a client certificate using your CA certificate

Create a client certificate using your CA certificate

You can use your own certificate authority (CA) to create client certificates. The client certificate must be registered with AWS IoT before use. For information about the registration options for your client certificates, see Register a client certificate.

Create a client certificate (CLI)

Note

You can't perform this procedure in the AWS IoT console.

To create a client certificate using the AWS CLI
  1. Generate a key pair.

    openssl genrsa -out device_cert_key_filename.key 2048
  2. Create a CSR for the client certificate.

    openssl req -new \
        -key device_cert_key_filename.key \
        -out device_cert_csr_filename.csr

    You are prompted for some information, as shown here:

    You are about to be asked to enter information that will be incorporated
    into your certificate request.
    What you are about to enter is what is called a Distinguished Name or a DN.
    There are quite a few fields but you can leave some blank
    For some fields there will be a default value,
    If you enter '.', the field will be left blank.
    -----
    Country Name (2 letter code) [AU]:
        State or Province Name (full name) []:
        Locality Name (for example, city) []:
        Organization Name (for example, company) []:
        Organizational Unit Name (for example, section) []:
        Common Name (e.g. server FQDN or YOUR name) []:
        Email Address []:
    
        Please enter the following 'extra' attributes
        to be sent with your certificate request
        A challenge password []:
        An optional company name []:
  3. Create a client certificate from the CSR.

    openssl x509 -req \
        -in device_cert_csr_filename.csr \
        -CA root_CA_cert_filename.pem \
        -CAkey root_CA_key_filename.key \
        -CAcreateserial \
        -out device_cert_filename.pem \
        -days 500 -sha256

At this point, the client certificate has been created, but it has not yet been registered with AWS IoT. For information about how and when to register the client certificate, see Register a client certificate.

Manage your CA certificates

Register a client certificate

Did this page help you? - Yes

Thanks for letting us know we're doing a good job!

If you've got a moment, please tell us what we did right so we can do more of it.

Did this page help you? - No

Thanks for letting us know this page needs work. We're sorry we let you down.

If you've got a moment, please tell us how we can make the documentation better.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4