Thoughts on the use of opensslca in Windows

Source: Internet
Author: User

Microsoft Windows XP [version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:/Documents and Settings/Administrator> F:

F:/> Cd openssl-0.9.8g/apps/democa

F:/openssl-0.9.8g/apps/democa> OpenSSL ca-In req1.pem-out sslclientcert. pem
'Openssl 'is neither an internal or external command nor a running program.
Or batch files.

F:/openssl-0.9.8g/apps/democa> set Path = % PATH %; F:/openssl-0.9.8g/out32dll

F:/openssl-0.9.8g/apps/democa> OpenSSL ca-In req1.pem-out sslclientcert. pem
Using configuration from F:/openssl-0.9.8g/apps/OpenSSL. CNF; F:/openssl-0.9.8g/AP
PS/
Error loading the config file 'f:/openssl-0.9.8g/apps/OpenSSL. CNF; F:/openssl-0.9
. 8g/apps /'
1768: Error: 02001_ B: System Library: fopen: Unknown error:./crypto/bio/bss_file.c: 1
22: fopen ('f:/openssl-0.9.8g/apps/OpenSSL. CNF; F:/openssl-0.9.8g/apps/', 'rb ')
1768: Error: 2006d002: Bio routines: bio_new_file: System Lib:./crypto/bio/bss_file.c
: 127:
1768: Error: 0e078002: configuration file routines: def_load: System Lib:./crypto/con

F/conf_def.c: 199:

F:/openssl-0.9.8g/apps/democa> OpenSSL ca-In req1.pem-out sslclientcert. pem-config F:/openssl-0.9.8g/apps/OpenSSL. CNF
Using configuration from F:/openssl-0.9.8g/apps/OpenSSL. CNF
Loading 'screen' into random state-Done
Error Opening Ca private key./democa/private/cakey. pem
1712: Error: 02001003: System Library: fopen: no such process:./crypto/bio/bss_file.c
: 352: fopen ('./democa/private/cakey. pem', 'rb ')
1712: Error: 20074002: Bio routines: file_ctrl: System Lib:./crypto/bio/bss_file.c: 35
4:
Unable to load CA private key

F:/openssl-0.9.8g/apps/democa> OpenSSL ca-In req1.pem-out sslclientcert. PEM-Keyfile F:/openssl-0.9.8g/apps/democa/private/cakey. PEM-config F:/openssl-0.9.8g/apps/OpenSSL. CNF
Using configuration from F:/openssl-0.9.8g/apps/OpenSSL. CNF
Loading 'screen' into random state-Done
Error opening CA certificate./democa/cacert. pem
720: Error: 02001003: System Library: fopen: no such process:./crypto/bio/bss_file.c:
352: fopen ('./democa/cacert. pem', 'rb ')
720: Error: 20074002: Bio routines: file_ctrl: System Lib:./crypto/bio/bss_file.c: 354
:
Unable to load Certificate

F:/openssl-0.9.8g/apps/democa> OpenSSL ca-In req1.pem-out sslclientcert. pem-Keyfile cakey. pem-config F:/openssl-0.9.8g/apps/OpenSSL. CNF
Using configuration from F:/openssl-0.9.8g/apps/OpenSSL. CNF
Loading 'screen' into random state-Done
Error Opening Ca Private Key cakey. pem
288: Error: 02001002: System Library: fopen: no such file or directory:./crypto/bio/B
Ss_file.c: 352: fopen ('cakey. pem', 'rb ')
288: Error: 20074002: Bio routines: file_ctrl: System Lib:./crypto/bio/bss_file.c: 354
:
Unable to load CA private key

F:/openssl-0.9.8g/apps/democa> OpenSSL ca-In req1.pem-out sslclientcert. PEM-Keyfile cakey. PEM-Cert cacert. PEM-config F:/openssl-0.9.8g/apps/OpenSSL. CNF
Using configuration from F:/openssl-0.9.8g/apps/OpenSSL. CNF
Loading 'screen' into random state-Done
I am unable to access the./democa/newcerts directory
./Democa/newcerts: no such file or directory

We can see that using opensslca in Windows may cause a lot of inconvenience. The biggest difference is that OpenSSL is developed for UNIX operating systems by nature and must be installed in windows, there will be a lot of troubles, that is, the difference between file paths. Ussl is "/", while "/" in windows, so many default OpenSSL. CNF configurations do not work.

Finally, we recommend that you develop OpenSSL in a u‑class operating system. Windows, you can still avoid it ..... Remember!

I hope that my lessons will be inspired by the future...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.