Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 | 31 |
Tags
- kubernates
- Istio
- Service Mesh
- Spring Cloud Config
- spring cloud api gateway
- java static resources
- Distributed Tracing System
- spring boot http client
- high availabillty
- redis ha
- spring boot ssl verify skip
- Spring Cloud Bus
- spring boot hot swapping
- intelij spring boot devtools
- intelij devtools
- sidecar
- <iframe src="http://erea.tistory.com/attachment/cfile21.uf@997995485B2F785A3292EE.svg"></iframe>
- sidecar patern
- spring boot ssl
- MySQL
- msa 4.0
- Spring boot
- redis cluster
- spring cloud zuul
- jpa auto increment
- spring cloud load balancer
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <rect x="10" y="10" height="100" width="100" style="stroke:#ff0000; fill: #0000ff"/> </svg>
- tracing tool
- spring boot 2.0 ssl
- spring boot jks
Archives
- Today
- Total
erea
spring boot ssl 본문
Requirement
openssl
keytool
crt와 key 조합으로는 바로 jks를 생성하지 못함
p12생성후 생성된 p12로 jsk 생성
Run
##make
#make p12 openssl pkcs12 -export -in {domain}.crt -inkey STAR_hanpda_com_nopass.key -out {domain}.p12 -name "{domain}"
##jks
keytool -importkeystore -deststorepass {password} -destkeypass {password} -destkeystore {domain}.jks -srckeystore {domain}.p12 -srcstoretype PKCS12 -srcstorepass {srcpassword} -alias "{domain}"application.yml
server: port: 443 ssl: enabled: true key-store: {domain}.jks key-alias: {domain} key-password: {password}
패스워드없이는 안되도록 되어있다. 패스워드는 필수로 지정하여 생성
'dev > spring boot' 카테고리의 다른 글
openjdk 이슈 (0) | 2019.11.06 |
---|---|
Spring boot devtools hot swapping by intelij (0) | 2018.07.05 |
Setter DI vs. Constructor DI in Spring (0) | 2018.06.25 |
spring boot 2.0 hibernate 5 mysql auto increment (0) | 2018.06.25 |
spring boot http client ssl 체크 패스하기 (0) | 2018.06.25 |
Comments