TIPs when working with Certificates by Ulises Cázares

 Hi, in this post I'm going to write some tips when you need to work with certificates


Tips when you need to request a cert:

  1. If you need to install the cert in diferent type of devices the best way, for me, to do it is making the CSR in opensll using an encrypted private key (rememeber the password!!!). In this way you will have the CSR and private key file in Base64 which most of CAs and devices accept.
  2. Once you have the CSR and PrivateKey File send the CSR to the CA and wait for the cert

 

Tips when you have or get the cert:

  1. Get the certificate for your device in PEM(base64) or "CRT" format whenever is possible (since you can open them in a notepad and work with them)
  2. Have the openssl application installed in windows or linux so you can convert the cert to other formats if required.    In this link you can see the commands to convert among formats. https://aboutssl.org/ssl-tools/ssl-converter.php.
  3. Practice the certificate convertion before you need to do it. 

 

Keep in mind the following when you have the cert:

 It's vendor decision to accept one or several certificate formats that's why you'll need to know how to convert them and what are the prerequsites for each format.

When you want to create a Base64 cert in PEM format you can use notepad, just the file as "all files" and put the the name of the file between " and use the following order which normally works. Note.- In some cases you won't need the Intermediate or Root CA in that file but you will need to upload the Root CA to the device in advanced.

Certificate

Private Key

Intermediate CA (if Any)

Root CA


If you want to see how to create CSR in a device (online option where the Private key stays inside the device) or in openssl (offline option where you have the private key file) wathc the 77th session at the following link:  https://thewifiofthings.com/   (Note.-It's in spanish)

If you want to see a few examples to convert certs you can watch the 78th Tesos session at the following link:  https://thewifiofthings.com/   (Note.-It's in spanish)



Hope this helps

Comments

Popular posts from this blog

Aruba Clearpass - How to configure the Cisco WLC for Guest and MAC Caching by Ulises Cázares

Using API in ArubaOS Switches with Postman by Ulises Cázares

WiFi - How to know supported channels by a wireless client by Ulises Cázares