You receive the .zip file with SSL certificates: domain certificate, the Root and the Intermediate certificates. Now you need to combine them into one.pem file - use text file to do this:
- Open all .crt files in a text editor.
- Open a new empty text editor document.
- Copy the contents of each .crt file (with lines BEGIN and END CERTIFICATE) to new .txt document in this order:
domain certificate
intermediate certificate 2
intermediate certificate 1
root certificate - Save it as "yourdomain.pem".
Now you need to combine file yourdomain.pem with the private key (my_key.pem), that you generated along with the CSR. Final file save asfinal.pem
Use OpenSSL commands:
openssl>pkcs12 −export −in yourdomain.pem −inkey mykey.pem −out yourdomain.p12 −clcerts
openssl>pkcs12 −in yourdomain.p12 −out final−cert.pem −passin pass:check123 −passout
Note:
- In this command, you must enter a password for the parameters −passin and −passout.
- The password that is configured for the −passout parameter must match the certpassword parameter that is configured on the WLC.
- In this example, the password that is configured for both the −passin and −passout parameters is check123.
- "final.pem" is the file that we need to upload to the Wireless LAN Controller. The next step is to upload this file to the WLC as a Vendor device certificate.
