Closed
Solved
How to create a CSR file
I plan to create a CSR file to request a certificate signature.
I am building PegaPlatform using Docker Image in an on-premises AWS server environment.
Could you please tell me how to create a CSR file if I build it as a container?
Regards,
@JunyaT27 To create a CSR file in a Docker container for Pega Platform, you can use OpenSSL. Here are the steps:
1. Install or access OpenSSL in your Docker container. You can do this by adding the necessary commands to your Dockerfile or by entering the container and installing OpenSSL manually.
2. Once OpenSSL is installed, you can generate the .csr, .crt, and .p12 files. In your terminal, enter the following commands:
For .csr, enter: openssl req -out CSR.csr -key DS_PrivateKey.key -new
For .crt, enter: openssl x509 -signkey DS_PrivateKey.key -in CSR.csr -req -days 365 -out mycustom.crt
For .p12, enter: openssl pkcs12 -export -out certificate.pfx -inkey DS_PrivateKey.key -in mycustom.crt
Remember to replace 'DS_PrivateKey.key', 'CSR.csr', 'mycustom.crt', and 'certificate.pfx' with your actual file names.
Please note that these steps are for generating the .csr certificate file using OpenSSL. You can use other methods for generating certificates that are more suitable for your business needs or that are more compatible with your security standards.
⚠ This is a GenAI-powered tool. All generated answers require validation against the provided references.
Configuring the DocuSign authentication > Creating a keystore by using OpenSSL