autoset openssl install > knowledge

본문 바로가기
사이트 내 전체검색

knowledge

autoset openssl install

작성자 웹지기
작성일 18-09-09 04:46 | 조회 13,730 | 댓글 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

댓글목록 0

등록된 댓글이 없습니다.

knowledge 목록

Total 89
게시물 검색

회원로그인

접속자집계

오늘
23,468
어제
33,488
최대
61,067
전체
17,996,068

그누보드5
Copyright © funyphp.com. All rights reserved.