Hi,
I am trying to create the following certificate file by openssl api()
1. Generating self-signed CA certificate (RSA) - executing by openssl
command
=========================================
$OPENSSL_CMD req $OPENSSL_CNF -nodes -subj "$TEST_CA_DN" -keyout
$KEYS_DIR/$TEST_CA_FILE.key.pem -newkey rsa:1024 -new -out
$CERTS_DIR/$TEST_CA_FILE.req.pem
$OPENSSL_CMD x509 -req -days $DAYS -in
$CERTS_DIR/$TEST_CA_FILE.req.pem -extfile
$OPENSSL_DIR/apps/openssl.cnf -extensions v3_ca -signkey
$KEYS_DIR/$TEST_CA_FILE.key.pem -out $CERTS_DIR/$TEST_CA_FILE.cert.pem
API:: Using openssl-0.9.8b/demos/x509/mkcert.c - Generating self
signed certificate file
2. GENERATING A TEST SERVER CERTIFICATE (RSA) - executing through by
openssl command
==================================================="
$OPENSSL_CMD req $OPENSSL_CNF -nodes -subj "$TEST_SERVER_DN" -keyout
$KEYS_DIR/$TEST_SERVER_FILE.key.pem -newkey rsa:1024 -new -out
$CERTS_DIR/$TEST_SERVER_FILE.req.pem
API:: openssl-0.9.8b/demos/x509/mkreq.c -Generating certificate
request
$OPENSSL_CMD x509 -req -days $DAYS -in
$CERTS_DIR/$TEST_SERVER_FILE.req.pem -CA
$CERTS_DIR/$TEST_CA_FILE.cert.pem -CAkey
$KEYS_DIR/$TEST_CA_FILE.key.pem -out
$CERTS_DIR/$TEST_SERVER_FILE.cert.pem -CAcreateserial
API :: How to "Signing the certificate request" ? Is there any sample
file available ?
I am trying to create the above certificate file by openssl api().
Sample file which is available under openssl-0.9.8b/demos/x509.
mkcert.c - Generating self signed certificate file
mkreq.c -Generating certificate request
How to "Signing the certificate request" ? Is there any sample file
available ?
FYI, I have attached the same with this mail.
Thanks,
Senthilkumar.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager [EMAIL PROTECTED]