저 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
이 부분 입니다 제발 많은 고수님들 도움좀 주세요

익명 사용자의 이미지

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관련 답변이 아니였군요... --;

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.