HTTPS certificate

Guide to Install HTTPS Certificate on a Linux Server

Note: In both procedures, where you are instructed to "git clone", it should be done only once.


Procedure for Apache

  1. Download the files:

    git clone https://github.com/ArduinoDenis/certificato-https.git
  2. Navigate to the downloaded files folder:

    cd /certificato-https
  3. Provide executable permissions to the apache.sh file:

    sudo chmod 777 apache.sh
  4. Execute the apache.sh file:

    ./apache.sh

Procedure for Nginx

  1. Download the files:

    git clone https://github.com/ArduinoDenis/certificato-https.git
  2. Navigate to the downloaded files folder:

    cd /certificato-https
  3. Provide executable permissions to the nginx.sh file:

    sudo chmod 777 nginx.sh
  4. Execute the nginx.sh file:

    ./nginx.sh

Check the screenshots below for assistance:

foto1
  • Enter your email address.


foto2
  • Type A.


foto3
  • Type N.


  • Wait for the procedure to finish.

  • At the end of the procedure, it will notify you that the HTTPS certificate has been successfully installed.


Procedure to Renew the HTTPS Certificate

  1. Navigate to the certificate HTTPS folder:

  2. Provide executable permissions to the rinnovare-https.sh file:

  3. Execute the rinnovare-https.sh file:

Last updated