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"

댓글

이 블로그의 인기 게시물

Create fixed rounded button by Tailwind

ssh-copy-id in ansible

Install and run an FTP server using Docker

Creating an synchronous HTTP request using Spring RestTemplate

Read a file in Java, 자바 파일 읽기

difference between truncate and truncate_preserve in hbase

Using venv in Python

Parasite of korean movie

Getting start with Puppeteer

develop oauth2 authentication server using spring-security, 스프링시큐리티 Oauth2 인증 서버 개발