Ubuntu에 회사srt 적용하기 (ssl certificate verify failed) - jinwooklim/my-exp GitHub Wiki
ubuntu에 인증서 등록
Reference :
Ubuntu에서 ssl certificate verify failed 에러시 설정 (인증서 등록)
https://nillk.github.io/2016/07/15/Ubuntu-ssl-certificate-verify-failed/
-
/usr/share/ca-certificates 위치에 인증서를 위한 폴더를 하나 만들기
sudo mkdir /usr/share/ca-certificates/extra
-
회사에서 발급한 인증서를 1에서 만든 폴더로 옮김
sudo cp foo.crt /usr/share/ca-certificates/extra/foo.crt
-
우분투가 해당 인증서 파일의 경로를(/usr/share/ca-certificates를 기준으로 상대경로) /etc/ca-certificates.conf에 추가하게 만듬
sudo dpkg-reconfigure ca-certificates
spacebar로 * 추가하고 enter로 완료
또는
sudo update-ca-certificates
certificate snap이 동작하지 않을때
Reference :
https://forum.snapcraft.io/t/solved-cant-install-snaps-ubuntucore16-x509-certificate-has-expired/13470
에러명 :
error: cannot refresh: Post https://api.snapcraft.io/v2/snaps/refresh: x509: certificate has expired or is not yet valid
- snapd 서비스 재시작
sudo systemctl restart snapd
Chrome 인증서 설치
- 설정 - 인증서 관리 - 서버 - 가져오기
- 인증기관 - org-hyundai - mobis.local - 수정 - 웹사이트를 식별하기 위해 이 인증서 신뢰
pip global setting
[global]
cert = /foo/boo/name.crt
trusted-host = pypi.python.org
pypi.org
files.pythonhosted.org