리눅스 분류
OpenVPN에서 인증서 생성시..
작성자 정보
- 류수 작성
- 작성일
컨텐츠 정보
- 3,736 조회
- 0 추천
- 목록
본문
안녕하세요?
지금 vpn 서버를 만들려고 홍석범님의 책을 보고 시도를 해보고 있습니다.
그런데 루트CA 인증서와 비밀키를 사인하는 과정에서 문제가 발생했습니다.
일단 처음에
다음과 같이 서버쪽에서 사용할 공개키와 비밀키를 생성한 다음에 루트CA로 인증서에 사인을 하고
[root@xxxx ssl]# openssl ca -out server.crt -in server.csr
Using configuration from /usr/share/ssl/openssl.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
Serial Number: 1 (0x1)
Validity
Not Before: Jun 22 08:41:49 2007 GMT
Not After : Jun 21 08:41:49 2008 GMT
Subject:
countryName = ko
stateOrProvinceName = seoul
.
.
생략
.
.
Certificate is to be certified until Jun 21 08:41:49 2008 GMT (365 days)
Sign the certificate? [y/n]:y
1 out of 1 certificate requests certified, commit? [y/n]y
Write out database with 1 new entries
Data Base Updated
하고 서버는 일단 됐는데 클라이언트 인증서를 사인할 때는
[root@xxxx ssl]# openssl ca -out client.crt -in client.csr
Using configuration from /usr/share/ssl/openssl.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
Serial Number: 2 (0x2)
Validity
Not Before: Jun 22 08:52:04 2007 GMT
Not After : Jun 21 08:52:04 2008 GMT
Subject:
countryName = ko
stateOrProvinceName = seoul
.
.
생략
.
.
Certificate is to be certified until Jun 21 08:52:04 2008 GMT (365 days)
Sign the certificate? [y/n]:y
failed to update database
TXT_DB error number 2
하고 에러가 뜹니다
어떻게 해야되나요?
지금 vpn 서버를 만들려고 홍석범님의 책을 보고 시도를 해보고 있습니다.
그런데 루트CA 인증서와 비밀키를 사인하는 과정에서 문제가 발생했습니다.
일단 처음에
다음과 같이 서버쪽에서 사용할 공개키와 비밀키를 생성한 다음에 루트CA로 인증서에 사인을 하고
[root@xxxx ssl]# openssl ca -out server.crt -in server.csr
Using configuration from /usr/share/ssl/openssl.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
Serial Number: 1 (0x1)
Validity
Not Before: Jun 22 08:41:49 2007 GMT
Not After : Jun 21 08:41:49 2008 GMT
Subject:
countryName = ko
stateOrProvinceName = seoul
.
.
생략
.
.
Certificate is to be certified until Jun 21 08:41:49 2008 GMT (365 days)
Sign the certificate? [y/n]:y
1 out of 1 certificate requests certified, commit? [y/n]y
Write out database with 1 new entries
Data Base Updated
하고 서버는 일단 됐는데 클라이언트 인증서를 사인할 때는
[root@xxxx ssl]# openssl ca -out client.crt -in client.csr
Using configuration from /usr/share/ssl/openssl.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
Serial Number: 2 (0x2)
Validity
Not Before: Jun 22 08:52:04 2007 GMT
Not After : Jun 21 08:52:04 2008 GMT
Subject:
countryName = ko
stateOrProvinceName = seoul
.
.
생략
.
.
Certificate is to be certified until Jun 21 08:52:04 2008 GMT (365 days)
Sign the certificate? [y/n]:y
failed to update database
TXT_DB error number 2
하고 에러가 뜹니다
어떻게 해야되나요?
관련자료
-
이전
-
다음
댓글 0
등록된 댓글이 없습니다.