autoset openssl install > knowledge

본문 바로가기

사이트 내 전체검색

knowledge

autoset openssl install

작성일 18-09-09 04:46

페이지 정보

작성자 웹지기 조회 6,876회 댓글 0건

본문

오토셋 버젼안에 openssl이 들어있다.

openssl로 key와 csr을 만들자


오토셋매니저 

설정 > 웹서버세부설정 > 웹서버 모듈관리 > mod_ssl.so 체크

설정 > PHP세부설정 > PHP확장모듈 설정 > php_openssl.so 체크

설정 > 웹서버 세부설정 > 가상호스트 설정

C:\Autoset9\server\conf

http.conf 파일 수정

Listen 80 하단에 Listen 443 추가

C:\Autoset9\server\conf\extra 사용시

httpd-vhosts.conf 파일 수정

<VirtualHost *:443>

ServerName domain.com

ServerAlias www.domain.com

ServerAdmin SSL 인증받은 메일주소

DocumentRoot "C:/AutoSet/public_html"

ErrorLog logs/domain.com-error_log

CustomLog logs/domain.com-access_log common

<Directory />

Options FollowSymLinks

AllowOverride FileInfo

Require all granted

</Directory>

SSLEngine on

SSLCertificateFile "C:/AutoSet/server/conf/ssl/만들어진이름.crt"

SSLCertificateKeyFile "C:/AutoSet/server/conf/ssl/만들어진이름.key"

SSLProtocol all

SSLCipherSuite HIGH:MEDIUM

</VirtualHost>



window + r  에서 cmd 창을 연다

autoset이 설치된 위치에서 하위폴더 bin까지 간다.

cd C:\Autoset9\server\bin

먼저 키를 생성한다

openssl genrsa -out 파일명.key 2048 enter

이부분에서 unable to write 'random state'라는 오류가 발생한다면

cmd를 관리자 권한으로 실행한다.

csr파일을 생성한다

openssl req -new -key 키파일명.key -out 같은이름.csr

오류가 발생하면 -config 명령을 통해 경로를 지정한다.

openssl req -new -key 키파일명.key -out 같은이름.csr -config "c:\Autoset9\server\conf\openss.cnf" 

또는

openssl req -new -key 키파일명.key -out 같은이름.csr -config "c:\Autoset9\server\bin\extras\ssl\openssl.cnf


Country Name : KR

State or Province Name : 지역 ex> Gwangju

Locality Name : 구/군 ex> seogu

Organization : 영문회사명

Organization Unit : 부서

Common Name : 인증받을 도메인주소

A challenge password 와 An optional company name 두 항목은 입력하지 말고 Enter

두정보가 입력될 경우 잘못된 CSR이 생성될 수 가 있슴.


추천0

비추천 0

댓글목록

등록된 댓글이 없습니다.

전체 89건 1 페이지

이미지 목록

게시물 검색
Copyright © 즐거운 코딩 생활 ( funyphp ). All rights reserved.
PC 버전으로 보기