Development Solutions/Linux

How to register root ca in ubuntu (우분투에서 root ca 인증서 등록하는 방법)

studio ODOC 2022. 10. 5. 19:14
반응형

How to register root ca in ubuntu

(우분투에서 root ca 인증서 등록하는 방법)

 

 

우분투를 회사와 같은 조직에서 개발용으로 사용하다보면 인증서와 관련된 에러와 맞딱드리기 일수다.

이럴 때는 회사에서 인정하는 루트 인증서를 우분투 시스템에 등록해야한다.

물론 루트 인증서는 각 회사의 보안 및 인프라 관련 팀에 문의해서 얻어야겠다.

(If you use Ubuntu for development in an organization such as a company, you may encounter errors related to certificates.

In this case, you need to register a root certificate recognized by the company in the Ubuntu system.

Of course, you will need to obtain a root certificate by contacting each company's security and infrastructure team.)

 

 

방법은 아래와 같이 간단하다. (The method is as simple as below.)

 

1. 아래 경로에 루트 인증서를 복사한다. (Copy the root certificate to the path below.)

/usr/local/share/ca-certificates <- crt, pem files

 

2. 아래 명령어를 입력하면 인증서가 리눅스 시스템에 등록된다. (By entering the command below, the certificate is registered in the Linux system.)

$ sudo update-ca-certificates

 

반응형