본문 바로가기
Server

ca-certificates를 설치하였지만, update-ca-certificates command not found 가 발생하는 경우..

by 모닝위즈 2024. 7. 17.
반응형

OS 별로 CA인증서를 넣는 폴더 위치와 인증서 업데이트 명령어가 다르다.

 

System Copy new certs here Command to trust new certs Install cert management tool
Alpine /usr/local/share/ca-certificates/ update-ca-certificates apk add ca-certificates
Amazon Linux /etc/pki/ca-trust/source/anchors/ update-ca-trust extract yum install ca-certificates
Arch /etc/ca-certificates/trust-source/anchors/ trust extract-compat pacman -Sy ca-certificates-utils
CentOS /etc/pki/ca-trust/source/anchors/ update-ca-trust extract yum install ca-certificates
CoreOS /etc/pki/ca-trust/source/anchors/ update-ca-certificates Built into the system
Debian /usr/local/share/ca-certificates/ update-ca-certificates apt-get install -y ca-certificates
Fedora /etc/pki/ca-trust/source/anchors/ update-ca-trust extract dnf install ca-certificates
MacOS /Library/Keychains/System.keychain security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain <path_to_cert> Built into the system
RedHat /etc/pki/ca-trust/source/anchors/ update-ca-trust extract yum install ca-certificates
SUSE /etc/pki/trust/anchors/ update-ca-certificates zypper install ca-certificates
Ubuntu /usr/local/share/ca-certificates/ update-ca-certificates apt-get install -y ca-certificates
Windows C:\Windows\System32\certsrv\CertEnroll\ certutil -addstore -f "Root" <path_to_cert> Built into the system

 

댓글