Supporting Commands / Configurations

To Obtain and Install Host certificate in Ubuntu;

  1. Open the host in web client

  2. Click on the “Not secure” in the address bar

  3. Navigate to Certificate à Details à Copy to file

  4. In Certificate export wizard, Click Next à Base 64 encoding, Click Next à Save the file in Cer format

  5. Copy the file into the ubuntu server

  6. Convert cer format to crt with the following command (sudo openssl x509 -inform PEM -in certificate.cer -out certificate.crt)

  7. Move the certificate to ca-certificates folder (sudo mv certificate.crt /usr/share/ca-certificate/)

  8. Run the following command to install the certificate (sudo update-ca-certificates)

Last updated