일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- VirtualBox
- WH question
- postgres install
- svn load
- apt-get update 오류
- mysql dml
- svn commit
- 프로젝트 네임변경 후 이클립스 로딩시 에러
- svn 사용법
- javax.servlet.GenericFilter
- svn 특정 리비전 사이 추출
- taskkill
- ant
- NEXUS
- 포스트그레스 설치
- svn log
- Remmina
- svn update
- expected at least 1 bean which qualifies as autowire candidate
- docker 폐쇄망
- svn dump
- Oracle install
- svn
- grep
- xrdp
- docker oracle12c
- svn 변경된 파일 추출
- Failed to download metadata for repo 'appstream'
- Cannot prepare internal mirrorlist: No URLs in mirrorlist
- Store password unencrypted
Archives
- Today
- Total
기억의 습작
Tomcat 서버에 SSL 적용하기 본문
설치파일 다운로드
SSL 설치를 위한 인증파일 생성
- D:\cert> openssl genrsa -aes256 -out rootca_private.key 2048
- D:\cert> openssl rsa -in rootca_private.key -out rootca_public_key.pem -pubout
- D:\cert> openssl req -new -key rootca_private.key -out rootca.csr -config D:\util\openssl-0.9.8k_X64\openssl.cnf
- D:\cert> openssl x509 -req -days 3650 -extensions v3_ca -set_serial 1 -in rootca.csr -signkey rootca_private.key -out rootca.crt
- D:\cert> openssl genrsa -aes256 -out localhost_private.key 2048
- D:\cert> openssl req -new -key localhost_private.key -out localhost.csr -config D:\util\openssl-0.9.8k_X64\openssl.cnf
- D:\cert> openssl x509 -req -days 1825 -extensions v3_user -in localhost.csr -CA rootca.crt -CAcreateserial -CAkey rootca_private.key -out localhost.crt
- D:\cert> openssl pkcs12 -export -in localhost.crt -inkey localhost_private.key -out keystore -name "localhost cert"
Tomcat 설정파일 수정
- tomcat9 server.xml 파일이 https 설정을 추가하고, 실행합니다.
<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
keystoreFile="conf\keystore" keystorePass="{your-pw}"
clientAuth="false" sslProtocol="TLS" />
확인하기
https://localhost:8443
728x90
반응형
LIST
'SCM (형상관리)' 카테고리의 다른 글
redmine 설치 (0) | 2021.09.02 |
---|---|
와치독 ( watchdog) (0) | 2021.08.21 |