Hi all
I am working on implementing hierarchical pki in java. For that i am using
openssl for certificate purpose.All work fine for me but i am struck at one
point.

*
1. openssl ca  -config abhi1\rootca1\rootca1.conf  -batch -notext -out
abhi1\i2\ca.crt -in abhi1\i2\ca.csr
ExitValue: 1*

Using configuration from abhi1\rootca1\rootca1.conf
error loading the config file 'abhi1\rootca1\rootca1.conf'
416:error:02001003:system library:fopen:No such
process:.\crypto\bio\bss_file.c:
126:fopen('abhi1\rootca1\rootca1.conf','rb')
416:error:2006D080:BIO routines:BIO_new_file:no such
file:.\crypto\bio\bss_file.
c:129:
416:error:0E078072:configuration file routines:DEF_LOAD:no such
file:.\crypto\conf\conf_def.c:197:
error in ca

  When i ececute this command for first time i don't get any error as conf
file is creeated but from next time onward it gives me the above error.



Also

*2.openssl  x509 -noout -in abhi1\rootcn\ca.crt -issuer"*

Error opening Certificate abhi1\rootcn\ca.crt

5460:error:02001003:system library:fopen:No such
process:./crypto/bio/bss_file.c

:356:fopen('abhi1\rootcn\ca.crt','rb')

5460:error:20074002:BIO routines:FILE_CTRL:system
lib:./crypto/bio/bss_file.c:35

8:

unable to load certificate

error in x509





This is one of the command that fails.



Any help on above will be very useful.


Thanking you in Advance



Thanks and Regards
Abhijit S Patil.

Reply via email to