You must create a private key to sign self-signed certificates and to create signing requests.
About this task
SSL uses public-key cryptography which requires a private and a public key. The first step in configuring it is to create a private key. The public key is created automatically, using the private key, when you create a certificate signing request or a certificate.
The following steps describe how to use the openssl tool to create a private key.
Steps
Log in to an ECS node or to a node that you can connect to the ECS cluster.
Use the
openssl tool to generate a private key.
For example, to create a key called
server.key, use:
openssl genrsa -des3 -out server.key 2048
When prompted, enter a passphrase for the private key and reenter it to verify. You will need to provide this passphrase when creating a self-signed certificate or a certificate signing request using the key.
You must create a copy of the key with the passphrase removed before uploading the key to ECS. For more information, see
Upload a certificate.
Set the permissions on the key file.
chmod 0400 server.key
Data is not available for the Topic
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please select whether the article was helpful or not.
Comments cannot contain these special characters: <>()\