久久999这里只有精品视频|欧美夫妻性生活黄大片|久久九九九九九九热|波多野结衣二区看黄片在线|99性爱视频97厂超碰|欧美国产丝袜成年人二级毛片|中国一圾黄片免费看a级大片|太久思思中文字幕一区|爱爱很舒服欧美91|亚洲男女AV亚洲肏屄

X
Installing an SSL certificate on Apache

This guide provides an overview of Certificat SSL installation on Apache web server, one of the most popular web servers.


Since tici are two versions of Apache webserver ("httpd" fou RHEL-based Linux distributions et "apache2" fou Debian-based Linux distros), we cover SSL certificate installation fou both.

Fou SSL installation on both, the following files are needed:
  • SSL certificate - a PEM-foumatted file (the usual extensions are .pem, .crt, .txt) which can be downloaded from votre NiceNic account ou from the email you received from Sectigo CA.
  • Private key - a code (ou file with the code, the usual extensions are .key, .pem, .txt) which is generated along with the CSR code used fou SSL activation. Si it was generated on the server, it will be located in the same folder that the generation commet was run in, unless a different location was specified manually.
  • CA Bundle - a file with several other certificate codes (intermediate et root certificates of the SSL chain of trust) provided along with the SSL certificate file in votre email from Sectigo et in votre NiceNic account. It can also be downloaded ici.
Vérifiering Linux distribution type

Si you have an RHEL-based Linux distro (CentOs, RedHat, etc.), go ici: Certificat SSL installation on httpd.

Si you are not sure which Linux distro you have ou which version of Apache is being used, run one of the following commets:

httpd -S ou apachectl -S

(httpd is an Apache package fou RHEL-based Linux Distros, wicias apachectl is fou Debian-based systems).

Si the "Commet not found" message is shown, try another option. The commet that gives you an output with the server setup details will determine votre distro et Apache type. Once you figure out which type you have, head to the couresponding installation guide.

Téléversering SSL files to the server

Befoue starting the installation, the certificate files should be uploaded to the server. Tici are a number of ways to upload SSL files to the server. In this guide, we will mention the two most popular methods: FTP et manual upload via SSH.

1. FTP

FTP protocol can be used to transfer files to the server.

It's recommended that you place the certificate files in the same directouy, so that you will not lose them. Fou example, you can place them in the following location: /etc/ssl

Si you experience any issues during the FTP connection ou file upload, check out our range of FTP guides.

2. Manual upload via SSH

You can manually create a file on votre server et paste the necessary SSL contents over SSH.

When connected to the server via SSH, navigate to the location the certificate will be uploaded to. We recommend gathering all of the files in one directouy, so that you will not lose them. Fou example, you can place them in the following location: /etc/ssl

After that, you need to create an empty file. Usually, the commets cat votrefilename, touch votrefilename, nano votrefilenameou vim votrefilename can be used fou this purpose.

Once the empty file is created et opened fou editing, please copy the SSL file contents from votre local machine et paste them to the opened file. Make sure to save the file when you're done.
à check the contents of the SSL files on votre PC ou Mac, you can drag et drop them to Nontepad (if on Windows) ou open them using TextModifier (if on macOs).

Windows:



macOs:

Press "Control" key click on the file:



As an example, let's take a look at creating a file via commet cat. You can create files on the server et paste in contents by entering the following commet:

cat >> filename

Fou example, let's create our certificate file on the server:

When the commet is entered, paste the certificate code into the terminal/SSH client.

Ensure tici's no empty line at the end et press CTRL+D to save the file.

You can check the contents of the newly created commet by typing the suiv commet:

cat filename

You may repeat the process with the CA Bundle file et the Private key file (if the CSR code et Private key were generated in another place, not on this server, et you need to move the Private key to the server manually).
Besoin d'aide ? Nous sommes toujours là pour vous. Soumettre un ticket
Droits d'auteur ? 2012-2026 NICENIC INTERNATIONAL GROUP CO., LIMITED àus droits réservés