openssl 다운로드 후, 적절한 위치 압축을 풉니다.
openssl genrsa -out pipeline-tls.key 2048
openssl req -new -key pipeline-tls.key -out pipeline-tls.csr
Country Name (2 letter code) [AU]:KR
State or Province Name (full name) [Some-State]:
Locality Name (eg, city) []:
Organization Name (eg, company) [Internet Widgits Pty Ltd]:Rudasoft Co, Ltd
Organizational Unit Name (eg, section) []:
Common Name (e.g. server FQDN or YOUR name) []:*.pipeline.internal
Email Address []:developers@rudasoft.com
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:admin
An optional company name []:
openssl x509 -req -days 3650 -in pipeline-tls.csr -signkey pipeline-tls.key -out pipeline-tls.crt
Kubernets 의 Secret 은 인증서, 사용자 정보, Token 정보 등 보안 유지기 팔요한 정보를 저장하는 기능입니다. 이전에 생성한 사설 인증서 또는 서버 인증서로 부터 tls Secret 를 생성합니다.
kubectl create secret tls pipeline-tls-secret --namespace=pipeline --key pipeline-tls.key --cert pipeline-tls.crt
kubectl get secret --namespace=pipeline