저 openssl의 설치 문제인데요(os가 윈도우 기반이라서...죄송)

openssl-0.9.6f을 윈도우 2000에 설치 하려고 하는데요
이곳이 리눅스 전용 사이트인걸 알면서도 어느곳에서도 답변과 자료과 없
어서요 이렇게 글을 올리게 되었어요 혹시 윈도우에 설치하신 분이 있다
면 도움좀 주세요
펄과 nasm을 이용해서 설치는 했는데 설치 중에는 문제가 없는데요
실행 부분에서...
비밀키까지 생성이 되는데 인증서 생성 부분에서 자꾸 에러가 떨어져서요
어떤 부분이 잘 못 되었는지 알수가 없군여
오류 부분이
C\openssl\bin>openssl genrsa -des3 -out test.key 1024
Loading 'screen' into.........................생략
Enter PEM pass phrase*****
Verifying password -Enter PEM pass phrase****
C\openssl\bin>openssl req -new -key test.key -out test.csr
Using configuration from /usr/local/ssl/openssl.cnf
Unable to load config info
Enter PEM pass phrase*****
unable to find 'distinguished_name' in config
problems making Certificate Request
1028error0E06D06Aconfiguration file routinesNCONF_get_stringno
conf or environment variable.\crypto\conf\conf_lib.c343
1028error0E06D06Aconfiguration file routinesNCONF_get_stringno
conf or environment variable.\crypto\conf\conf_lib.c343
1028error0E06D06Aconfiguration file routinesNCONF_get_stringno
conf or environment variable.\crypto\conf\conf_lib.c343
1028error0E06D06Aconfiguration file routinesNCONF_get_stringno
conf or environment variable.\crypto\conf\conf_lib.c343
1028error0E06D06Aconfiguration file routinesNCONF_get_stringno
conf or environment variable.\crypto\conf\conf_lib.c343
1028error0E06D06Aconfiguration file routinesNCONF_get_stringno
conf or environment variable.\crypto\conf\conf_lib.c343
1028error0E06D06Aconfiguration file routinesNCONF_get_stringno
conf or environment variable.\crypto\conf\conf_lib.c343
1028error0E06D06Aconfiguration file routinesNCONF_get_stringno
conf or environment variable.\crypto\conf\conf_lib.c343
이 부분 입니다 제발 많은 고수님들 도움좀 주세요
Re: 저 openssl의 설치 문제인데요(os가 윈도우 기반이라서...죄
OpenSSL의 소스는 UNIX기반입니다.
에러의 형태를 보면 config파일을 찾지 못해서 발생하는 에러입니다.
openssl-0.x.x/apps 디렉토리에 보면 openssl.cnf라는 파일이 있습니다.
기본적인 configure를 담고 있는데 그냥써도 되고 수정해서 사용해도
됩니다.
즉,
C\openssl\bin>openssl req -new -key test.key -out test.csr 대신에
C\openssl\bin>openssl req -config openssl.cnf -new ...
이렇게 사용하면 됩니다. 이것말고 다른 곳에서도 에러가 일어나는데
-config openssl.cnf를 넣어주면 됩니다.
openssl.cnf파일은 현재 디렉토리에 있어야하며 만일 다른 디렉토리에
존재한다면 절대 경로를 지정해 주어야합니다.
쓰고보니 LINUX관련 답변이 아니였군요... --;
댓글 달기