Ibara updated 5 December 2020 kwa 4 h 02 me

 

Ilikuwaje HTTP yake ya HTTPS tovuti.
Kupata cheti kwa encrypt bure mbadala hebu kila robo.

rahisi sana na bure chini ya update muhimu yako yote 3 mwezi (kiwango cha juu kwa kipindi bila malipo).
SSL For Free – Free SSL Certificates
Kuongeza mistari ifuatayo katika mtandao faili yako server Configuration (Apache katika mfano wetu).
You mipangilio ya seva yako na jeshi virtual, kuongeza na kurekebisha ip ndani na ile ya mashine yako.


#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 rating
0 / 5 nyota (0 mtazamo)
Mufti0%
Vizuri sana0%
Wastani0%
Maskini0%
kutisha0%

kufuta

 

Kiwango cha makala hii

kuondoka na Jibu

Anwani yako si kuchapishwa. Mashamba required ni alama *