반응형
SSL For Free - Free SSL Certificates in Minutes
Wildcard SSL Certificates Wildcard certificates allow you to secure any sub-domains under a domain. If you want to secure any sub-domains of example.org that you have now or in the future you can make a wildcard certificate. To generate wildcard certificat
www.sslforfree.com

* 이곳에서 "3달 무료"로 https인증서를 발급받았다.
* 다른 사이트에선 httpd관련 설명이 없어서 이곳에 "발급받은 것을 적용"하는 법을 적어보려고 한다.
1) 파일 옮기기

다음과 같이
- private.key
- certificate.crt
- ca_bundle.crt
3개의 파일을 받았으면 적당한 위치에 옮겨준다.
2) yum install mod_ssl -y 실행

3) vi /etc/httpd/conf.d/ssl.conf 실행
Listen 443 https
<VirtualHost *:443>
SSLEngine on
SSLCertificateFile /home/klig/www/cert/certificate.crt
SSLCertificateKeyFile /home/klig/www/cert/private.key
SSLCACertificateFile /home/klig/www/cert/ca_bundle.crt
</VirtualHost>
위 스크립트가 들어갔는지 반드시 확인!
마지막) apachectl restart 실행
- 아파치서버를 재시작해서 확인
확인해보기)

사진 설명을 입력하세요.
다음과 같이 https를 입력해서 주소 이동하면

다음과 같이 잘 실행되면 성공
반응형
'PHP' 카테고리의 다른 글
Android Studio - unable to find valid certification path to requested target 해결방법 (0) | 2023.07.23 |
---|---|
httpd-ssl.conf에서 htaccess등 rewriterule인식하게끔 만들기 (AllowOveride 추가) (0) | 2023.07.17 |
jquery를 이용해 단축키 만들기 (그누보드 랜덤 페이지 들어가기) (0) | 2023.06.29 |
[Jquery] 스크롤 진행상황을 알려주는 막대(bar)만들기 (0) | 2023.06.02 |
그누보드의 게시물 내용 글자 수(65536byte보다 길게) 늘리는 방법(text, longtext type) (0) | 2023.05.23 |