Artikulo na-update 5 Disyembre 2020 sa 4 h 02 ako

 

Kamusta ang kanyang HTTP sa HTTPS website.
Kumuha ng isang sertipiko para i-encrypt ang libreng renewable let ng bawat quarter.

Very simple at libreng subject na i-update ang iyong susi sa lahat 3 buwan (maximum na panahon para sa libreng).
SSL For Free – Free SSL Certificates
Idagdag ang sumusunod na linya sa iyong web server configuration file (Apache sa aming halimbawa).
configure ang iyong server na may virtual host, idagdag at baguhin ang mga panloob na ip sa na ng iyong machine.


#NameVirtualHost 192.168.0.2
<VirtualHost 192.168.0.2>
ServerName www.french-interface.com
Redirect permanent / https://www.french-interface.com/
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
</IfModule>
</VirtualHost>

#NameVirtualHost 192.168.0.2
<VirtualHost 192.168.0.2>
ServerName french-interface.com
Redirect permanent / https://french-interface.com/
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
</IfModule>
</VirtualHost>

<VirtualHost 192.168.0.2:443>
Header always set Strict-Transport-Security "max-age=30000000; includeSubDomains; preload"
DocumentRoot d:/WWW/french-interface.ssl
ServerName french-interface.com
SSLEngine on
SSLCertificateFile C:\à modifier en fonction de votre répertoire\certificate.crt
SSLCertificateKeyFile C:\à modifier en fonction de votre répertoire\private.key
SSLCertificateChainFile C:\à modifier en fonction de votre répertoire\ca_bundle.crt
</VirtualHost>

0
0.0 marka
0 / 5 bituin (0 tingnan)
napakahusay0%
napakabuti0%
karaniwan0%
mahirap0%
kalagim-lagim0%

kanselahin

 

I-rate ang artikulong ito

Mag-iwan ng reply

Ang iyong email address ay hindi nai-publish. Mga kinakailangang patlang ay minarkahan *