OpenSSL最後にエラーがでてしまいます。
◇-?OpenSSL 最後にエラーがでてしまいます。-hiro1357-03/03-21:35(142)-No.397428
▲このページのトップに戻る
397428 | OpenSSL 最後にエラーがでてしまいます。 | hiro1357 | 2007/03/03-21:35 |
メーカー名:NEC 日本電気 OS名:Windows2000 パソコン名:pc98nx トラブル現象: エラー ソフト関連: openssl 使用回線:ADSL -- OpenSSLの初心者です。 http://www.slproweb.com/products/Win32OpenSSL.html からダウンロードしたWin32OpenSSL-0_9_8d.exe を使用して自己証明書の発行をしようとしたのですが、 -out: No such file or directory 352:error:02001002:system library:fopen:No such file or directory:crypto/bio/bss _file.c:349:fopen('-out','rb') 352:error:20074002:BIO routines:FILE_CTRL:system lib:crypto/bio/bss_file.c:351: error in ca このようなエラーがでて、先へ進めることができません。 長くなりますが全文のせておきます。よろしくお願いします。 -----------------------ここから------------------------------- C:\2\OpenSSL\bin>openssl OpenSSL> genrsa -out .\democa\server.key 1024 Loading 'screen' into random state - done Generating RSA private key, 1024 bit long modulus ........++++++ ............................++++++ e is 65537 (0x10001) OpenSSL> req -config .\openssl.cnf -new -x509 -key .\democa\server.key -out .\de moca\server.ca You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter '.', the field will be left blank. ----- Country Name (2 letter code) [AU]:JP State or Province Name (full name) [Some-State]:XXXX Locality Name (eg, city) []:arao Organization Name (eg, company) [Internet Widgits Pty Ltd]:XXXX Organizational Unit Name (eg, section) []:network Common Name (eg, YOUR name) []:XXXX Email Address []:XXXX OpenSSL> ca -config .\openssl.cnf -days 9999999 -infiles .\democa\server.csr -ou t .\democa\server.crt Using configuration from .\openssl.cnf Loading 'screen' into random state - done Check that the request matches the signature Signature ok Certificate Details: Serial Number: 286 (0x11e) Validity Not Before: Mar 3 12:09:47 2007 GMT Not After : Sep 18 07:28:11 2029 GMT Subject: countryName = JP stateOrProvinceName = XXXX organizationName = XXXX organizationalUnitName = Network commonName = XXXX X509v3 extensions: X509v3 Basic Constraints: CA:FALSE Netscape Comment: OpenSSL Generated Certificate X509v3 Subject Key Identifier: CE:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX X509v3 Authority Key Identifier: keyid:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX X Certificate is to be certified until Sep 18 07:28:11 2029 GMT (9999999 days) Sign the certificate? [y/n]:y -out: No such file or directory 352:error:02001002:system library:fopen:No such file or directory:crypto/bio/bss _file.c:349:fopen('-out','rb') 352:error:20074002:BIO routines:FILE_CTRL:system lib:crypto/bio/bss_file.c:351: error in ca OpenSSL> -----------------------ここまで------------------------------- フォルダ構成 c:\ └Openssl ├bin │├democa │└PEM │ ├democa │ │└private │ └set ├exp ├include │└openssl ├lib │├Builder5 │├MinGW │└VC │ └static └perl └以下略 |
何か一言(本ページで参考になったならないを含めて残してあります)
◎:解決 ○:参考になった ×:参考にならなかった !:アドバイスあり
参考 | 回数 | 投稿日時 | 何か一言 |
---|