Updating the SSL Certificate of the application

The default senhasegura installation includes a self-signed 512-bit SSL certificate. It is highly recommended that you change this certificate for a valid market certificate.

The certificate must be of the type PEM. Being a file extension crt for the certificate and a file extension key for the key.

Access the menu Orbit ➞ Panel➞ Certificates to access the screen where you can upload a new pair of certificate files and your key.

The file upload screen will be displayed on 1 upload the .crt file and on 2 the .key file.

After uploading, the screen will display the new certificates.

image


Certificate and key validation

To validate the certificate .crt use the following command:

openssl x509 -noout -modulus -in <certificate.crt> | openssl md5

In <certificate.crt> insert the certificate name, as in example below <ss.crt>

Then, to validate the certificate validation key use the command:

openssl rsa -noout -modulus -in <certificate.key> | openssl md5

In <certificate.key> insert the key name, as in example below <ss2.key>

The values in the output of the two commands must be the same, as in the image below.

image

If the values are different, you should check the certificate generation procedures in your corporation.

1 Like