본문 바로가기

개발

SSL 인증을 위한 Linux 환경 변수 설정 방법

728x90

SSL 인증을 위한 Linux 환경 변수 설정 방법

# python ssl 인증 에러 해결

인증서 등록

export REQUESTS_CA_BUNDLE=/etc/ssl/certs/인증서.pem

 

certification error 해결

vi ~/.pip/pip.conf 
[global]
proxy = [proxy server ip]
trusted-host = pypi.python.org
               pypi.org
               files.pythonhosted.org

# cacert 인증 에러 해결

export CACERT=/etc/ssl/certs/인증서.pem

# dart 에서 handshake 에러 해결

export DART_VM_OPTIONS=--root-certs-file=/etc/ssl/certs/인증서.pem

 

 

 

'개발' 카테고리의 다른 글

Spring Boot 2.1.5 SSL Setting  (0) 2020.06.07
Ubuntu Scrivener Install  (0) 2020.06.07
Chrome, Firefox Memory Limit Setting  (0) 2020.06.07
Linux HDD Badblocks check  (0) 2020.06.07
UBUNTU SWAP MEMORY INCREASE  (0) 2020.06.07