the output i got from openssl
=================================

C:\OpenSSL\bin>openssl ca -policy policy_anything -config myopenssl.cfg
-cert certs/ca.cer -in requests/spkac.txt -keyfile keys/ca.key -days 360
-out
certs/mycert.cer
Using configuration from myopenssl.cfg
Loading 'screen' into random state - done
Enter pass phrase for keys/ca.key:
Error reading certificate request in requests/spkac.txt
3452:error:0906D06C:PEM routines:PEM_read_bio:no start
line:.\crypto\pem\pem_lib.c:650:Expecting: CERTIFICATE REQUEST


this is my openssf conf
======================================

RANDFILE        = .rnd

####################################################################
[ ca ]
default_ca    = CA_default        # The default ca section

####################################################################
[ CA_default ]

certs        = certs            # Where the issued certs are kept
crl_dir        = crl            # Where the issued crl are kept
database    = database.txt        # database index file.
new_certs_dir    = certs            # default place for new certs.

certificate    = cacert.pem            # The CA certificate
serial        = serial.txt         # The current serial number
crl        = crl.pem         # The current CRL
private_key    =ca-key.pem       # The private key
RANDFILE    =private.rnd     # private random number file

x509_extensions    = x509v3_extensions    # The extentions to add to the
cert
default_days    = 365            # how long to certify for
default_crl_days= 30            # how long before next CRL
default_md    = md5            # which md to use.
preserve    = no            # keep passed DN ordering



this is my spkac.txt file , i generated using <keygen>
======================================

SPKAC=MIICUTCCATkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCzVRQpi5P7qhG71OYnJ4LJCVyi13pHYc2A9BR+M1vfHY5u6OEkH9pOd1WttbYJWWNM2wHuE9WSTJ6d/RALj+NDWgnzko6IS6PxdinRrqzNweMhlENYGmsUiE5U8zqgCby8VG4lBjMlg1cgyz23iBoPEqVfgEtUnjM/b6sjZsVSt6olUQ90RZKV8QbMFNnIfgVXD45z8S0/KbkgJ0L0aN/PPe5X/kW+nWLqYW6kFNyHY5lc7csdnWKLl4RYTiP95qr1cj63s8ti6H8+mJ9ywm6o7Hw85zk08dUxdyfI7W/bLoMWX7a9CVVrjBZIj/wQKlFkuUwdQLcA7xE5SNBq3hM7AgMBAAEWEXNkZmpzZGgyMzc2MjM3NjIzMA0GCSqGSIb3DQEBBAUAA4IBAQB79DS+w/wmsynCr+FRc5pWx83OcpLKIt928spf3PGGH6fzA/Rb3ljfdg8Janqxv6UAmjfMSQ0BYVBmrwlw3bUow0AQgEzwOhXgQ71GNoSltQK6iTWWX43L5HxR4StjGUgU0PLmpXrFWZFRwJYUuodi2nH/BqZ+Y6tOUtUw6bbdweJGpJgDEwCdQGlBfCMr0TCXuIvfSYLOFvTj7kjmQNbz6BjJ9QG60B98B0OaSfQAFUUg9YKI21Ipj2/GFsjOHY+nW/FpxQ996bt/V/H9/v69WpBiXl1saLTxazkb3AmykYHjca1qqeWVluiMZhDef+jmuwCwUgtFwM5Ddg+Z+Y+3
CN=luser

Reply via email to