728x90
Ubuntu
- sudo apt-get install openjdk-11-jdk
- 서버 시간 맞추기
- timedatectl
- timedatectl list-timezones
- sudo timedatectl set-timezone Asia/Seoul
Certbot + boot
- sudo certbot certonly --standalone
- sudo certbot certonly --webroot
- return 301 https://$host$request_uri;
- openssl pkcs12 -export -in fullchain.pem -inkey privkey.pem -out keystore.p12 -name tomcat -CAfile chain.pem -caname root
server.ssl.key-store=classpath:keystore.p12 server.ssl.key-store-type=PKCS12 server.ssl.key-store-password=내가정한password
React + Spring Boot Set-Cookie
- SameSite : None
- Secure : true
- withCredential
- CORS
- httpOnly : true
728x90