I've got two problems:
I'm working with winxo dosshell.
I tried to create a cert this way and to sign it but I get errors...
**************************************************************************
OpenSSL> req -config ../apps/openssl.cnf  -new -x509 -keyout newreq.pem
-out newreq.pem -days 3652
Loading 'screen' into random state - done
Generating a 1024 bit RSA private key
...............................................................++++
+
.............................++++++
writing new private key to 'newreq.pem'
Enter PEM pass phrase:
Verifying - Enter PEM pass phrase:
-----
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 defaul
 value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [IT]:
State or Province Name (full name) [Piemonte]:
Locality Name (eg, city) [Torino]:
Organization Name (eg, company) [Politecnico di Torino]:
Organizat
onal Unit Name (eg, section) []:.
Common Name (eg, YOUR name) []:.
Email Address []:.
OpenSSL> ca -config ../apps/openssl.cnf  -policy policy_anyting -out newcert.pem
 -infiles newreq.pem
Using configuration from ../apps/openssl.cnf
Loading 'screen' into random state - done
3552:error:0E06D06C:configuration file routines:NCONF_get_string:no value:.\cryp
to\conf\conf_lib.c:329:group=CA_default name=unique_subject
Enter pass phrase for C:/openssl-0.9.7d/apps/demoCA/private/cakey.pem:
CA certificate and CA private key do not match
3552:error:0B080074:x509 certificate routines:X509_check_private_key:key
values
mismatch:.\crypto\x509\x509_cmp.c:389:
*****************************************************************************/

And also this one...probably it's about difference between "/" and "\" i'll
check the c source...but in the meanwhile if someone had suggestions ;)


*******************************************************************************
Making CA certificate ...
error on line -1 of C:openssl-0.9.7dppsopenssl.cnf
748:error:0200107B:system library:fopen:Unknown error:.\crypto\bio\bss_file.c:10
4:fopen('C:openssl-0.9.7dppsopenssl.cnf','rb')
748:error:2006D002:BIO routines:BIO_new_file:system lib:.\crypto\bio\bss_file.c:
109:
748:error:0E064002:configuration file routines:CONF_load:system lib:.\crypto\con
f\conf_def.c:199:
*******************************************************************************
Thanks for your help!



______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to