Jump to content

Ssl'i Nasıl aktif hale getirebilirim?


ebubekirakyol

Recommended Posts

Copy your web server certificate into a text editor such as notepad and save as yourdomain.crt

If you have not already set up a secure virtual host or would like to learn more about SSL, refer to the following link for more information:
http://www.linuxdoc.org/HOWTO/SSL-RedHat-HOWTO.html#toc4"

Note: The examples below use the following naming conventions: "Your Private Key" = "domainname.key"; "Your Web Server Certificate" = "domainname.crt" 

Copy the certificate to the Apache server directory in which you plan to store your certificates (by default: /usr/local/apache/conf/ssl.crt/ or /etc/httpd/conf/ssl.crt/).

Note: Copy the entire contents of the certificate from (and including) the -----BEGIN CERTIFICATE----- and -----END CERTIFICATE----- lines. 


Open the Apache httpd.conf file in a text editor. 


Locate the SSL VirtualHost associated with your certificate. Verify that you have the following 2 directives within this virtual host. Please add them if they are not present:

SSLCertificateFile /usr/local/apache/conf/ssl.crt/domainname.crt (or server.crt)
SSLCertificateKeyFile /usr/local/apache/conf/ssl.key/domainname.key (or server.key) 

Note that some instances of Apache will store Virtual Host information in a ssl.conf file. If your httpd.conf contains no Virtual Host information then you will need to locate and amend the ssl.conf as above.


Save the changes and exit the editor. 


Start or Restart your apache web server using one of the following commands:
By default:
/usr/local/apache/bin/apachectl startssl
or
/usr/local/apache/bin/apachectl restart 

Other commands:
/usr/sbin/httpd startssl or restart
/usr/sbin/httpsd startssl or restart 
Test your certificate by using a browser to connect to your server. Use the https protocol directive (e.g. https://your server/) to indicate you wish to use secure HTTP.

Note: The padlock icon on your browser will be displayed in the locked position if your certificates are installed correctly and the server is properly configured for SSL.



yani diyorum ki
xxx.crt yi/usr/local/apache/conf/ssl.crt/ klasörüne
xxx.key yide /usr/local/apache/conf/ssl.key/ klasörüne kopyala

ben denedimmi_? dersen daha deneyemedim

Link to comment
Share on other sites

Merhabalar,

SSLin kurulumu için birde extra ip gerekiyor. Ve hosting panelinizden gerekli SSL kurulumunu yapmanız gerekmekte..

SSL için dosyaların kopyalanmasından daha çok işlem gerekiyor diye biliyorum. çünkü ben o şekilde SSL kurabilmiştim..

teşekkürler

Link to comment
Share on other sites

  • 2 months later...

SSL almak için öncelikle sabit ip almanız lazım oda yaklaşık 50 tl filan yılık. Kullanmak istedeğin hostingden CSR kodu oluştuyorsun oluşturduğun CSR kodunu SSL satın alırken veriyorsun.Verdiğin CSR koduna göre hostingine ve o hostinge tanıtılmış domaine özel bir kod geliyor buda CRT kodu bunuda hosting arayüzü panelinde bulununan SSL kısmında tanıtıyorsun. SSL aktif olması için hostingin apachisini resetlemeniz lazım.

Link to comment
Share on other sites

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...