
1. 사용 용도에 따른 Let’s Encrypt 설치 방법1.1 Let`s Encrypt 설치[root@nginx] apt-get install letsencrypt -y# Nginx용 설치[root@nginx] apt install python3-certbot-nginx -y# Apache용 설치[root@nginx] apt install python3-certbot-apache -y 2. webroot 설정# .well-known 디렉토리 생성[root@nginx] mkdir -p /var/www/letsencrypt/.well-known/acme-challenge# webroot 경로를 알려주는 letsencrypt.conf 파일생성# /etc/nginx/snippets/경로에 생성[root@ng..
1. Let’s Encrypt SSL 인증서 발급 방법1. 1 webroot . 사이트 디렉토리 내에 인증서 유효성을 확인할 수 있는 파일을 업로드하여 인증서를 발급하는 방법. 실제 작동하고 있는 웹서버의 특정 데렉토리의 특정 파일 쓰기 작업을 통해서 인증. 이 방식의 장점은 nginx를 중단시킬 필요가 없음.. 이 방법의 단점은 인증 명령에 하나의 도메인 인증서만 발급 가능코드내용 1.2 웹서버. Nginx나 아파치와 같은 웹서버에서 직접 SSL 인증을 실시하고 웹서버에 맞는 SSL세팅값을 부여. 발급이나 갱신을 위해 웹서버를 중단시킬 필요가 없음. 인증서 갱신 시 상황에 맞게 세팅을 자동으로 업데이트. 사용자가 세팅을 변경할 수 있지만 자동 업데이트 시 반영되지는 않음 1.3 Standalone. 웹..

IntroHaproxy를 이용한 단말기와 통신을 Spring 어플리케이션인 SDK의 분산로그를 관리하기 위해 시스템 구성 1. Pom.xml 설정 net.logstash.logback logstash-logback-encoder 8.0 2. Logback.xml설정 127.0.0.1:5000 3. JAVA 설치apt install gnupg ca-certificates curl -ycurl -s https://repos.azul.com/azul-repo.key | sudo gpg --dearmor -o /usr/share/keyrings/azul.gpgecho "deb [signed-by=/usr/share/keyrings/azul.gpg] https://repo..
IntroHaproxy를 이용한 단말기와 통신을 Spring 어플리케이션인 SDK의 분산로그를 관리하기 위해 시스템 구성 1. Pom.xml 설정 net.logstash.logback logstash-logback-encoder 8.0 2. Logback.xml설정 127.0.0.1:5000 3. GIT 및 DOCKER 설치#GIT 설치apt-get install git#DOCKER 설치에 필요한 필수 패키지 설치apt-get install apt-transport-https ca-certificates curl#DOCKER official GPG key 추가curl -fsSL https://download.docker.com/linux/ubuntu/gpg | s..
1. 자동증가 [Auto Increment🪄 Auto Increment란?• 데이터 베이스에서 자동으로 증가하는 값 • Mysql은 Auto Increment, Oracle과 Postgresql은 시퀀스[Sequence]라 지칭 • 기본적으로 테입블의 기본키[Primara Key]를 사용하며, 테이블에 새로운 레코드를 추가 할때 자동으로 증가값을 증가하여 기본키에 값을 넣어준다. 2. 자동증가 데이터 타입 🪄 자동증가 데이터 타입 • Mysql int, Bigint를 사용 • Oracle와 Postgresql은 SMALLSERIAL, SERIAL, BIGSERIAL을 사용 3. Postgresql의 시퀀스[Sequence] 🪄 Serial 데이터 타입과 시퀀스[Sequence]..
@Value란?어노테이션 @Value는 properties에 보관되어있는 값을 가져오는 역할을 한다.예를 들어 application.yml에 파일 업로드에 관한 값을 선언했다고 생각 하자. 사용방법[application.xml]CUSTOM: PHOTO: UPLOAD_PASS_PHOTO_PATH: /images/pass UPLOAD_BAD_PHOTO_PATH: /images/badJAVA@Value("${CUSTOM.PHOTO.UPLOAD_PASS_PHOTO_PATH}")private passUploadPath;@Value("${CUSTOM.PHOTO.UPLOAD_BAD_PHOTO_PATH}")private badUploadPath; 동작 방법 어노테이션 @Value는 스프..
보호되어 있는 글입니다.
- Total
- Today
- Yesterday
- letsencrypt
- 마이바티스
- Letsencrypt wildcard auto renew
- logstash
- Letsencrypt wildcard
- 마이바티스CamelCase
- elk8.x
- letencrypt
- Letsencrypt+nginx
- #logback
- 인증서자동갱신
- SSL인증서
- 인증서설치
- nginx
- camelcase
- SSL
- Intellj들여쓰기
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |