EST Protocol
Enrollment over Secure Transport (EST) Protocol
Enrollment over Secure Transport (EST) is a standardized protocol for automating the process of obtaining and managing digital certificates for Public Key Infrastructure (PKI) clients. It utilizes the HTTPS protocol and TLS ciphers to establish a secure TLS channel between the EST client and the EST server. Through this secure channel, EST operations, such as certificate enrollment, renewal, and revocation, can be exchanged securely.
Obtaining Certificates Using EST Protocol
The Enrollment over Secure Transport (EST) protocol provides a secure and automated method for obtaining certificates within a Public Key Infrastructure (PKI). This section provides instructions on how to retrieve an existing certificate and generate a new certificate using the EST protocol.
Retrieving an Existing Certificate
Access the EST Server: Execute the following command to access the EST server using the curl command:
This command retrieves the issuer CA certificate from the EST server.
Decode the Base64 Encoded Data: Save the output of the previous command to a text file named
input.txt
. The certificate data is encoded in Base64 format.This command decodes the Base64 encoded data from the
input.txt
file and saves the decoded data to a file nameddecoded.txt
.Extract the Certificate:
This command extracts the certificate from the decoded data and displays it in text format.
Generating a New Certificate
Generate a Certificate Signing Request (CSR): Generate a CSR using the openssl command:
This command generates a key pair and creates a CSR file named
my_req.csr
. Thersa:2048
parameter specifies the key length.Submit the CSR to the EST Server: Execute the following command to submit the CSR to the EST server:
This command sends the
my_req.csr
file to the EST server using the curl command. The-d "@my_req.csr"
parameter indicates that the CSR data is being sent using a file namedmy_req.csr
.Decode the Certificate Data:
This command decodes the Base64 encoded data from the
input.txt
file and saves the decoded data to a file nameddecoded.txt
.Extract the New Certificate:
This command extracts the new certificate from the decoded data and displays it in text format.
These steps provide a comprehensive guide on how to retrieve an existing certificate and generate a new certificate using the EST protocol.
Last updated