Tomcat(톰캣) SSL 포트 설정

https룰 사용하기 위해 톰캣의 server.xml 에 아래의 설정 추가


<Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol"
               maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
               clientAuth="false" sslProtocol="TLS" URIEncoding="UTF-8" />

.keystore 생성


[/user@hostname]$ $JAVA_HOME/bin/keytool -genkey -alias tomcat -keypass changeit -storepass changeit -keyalg RSA -keystore ${HOME}/.keystore -dname "CN=localhost, OU=OrgUnit, O=MyCompany, C=KR"

댓글

이 블로그의 인기 게시물

What are 5 creative things I could do with my kids' art, 아이와 함께하는 창의적 놀이

how to make inactive kafka topic, 카프카 토픽 비활성화

Screenshot of a web page using Puppeteer with a specific browser width, 웹페이지 스크린샷

리눅스의 부팅과정 (프로세스, 서비스 관리)

To change the ESE index in Fluent Bit

Consume a topic from kafka by Python

ssh-copy-id in ansible

패션 하의, Pants, Skirts, Shorts, Skorts

ftplib.error_perm: 550 Permission denied