msgcert add-cert - Unable to find private key for this certificate
My problem is when i try to add my Verisign Signed SSL Cert to my Cert database i get an error about not being able to find a private key.
I have ued truss -f to see what files are trying to be opened and i cant see any, here is my full procedure.....
CREATE THE CERT DATABASES:
root@student:/data/student/opt/SUNWmsgsr/sbin # ./msgcert generate-certDB
Choose the Certificate Database password:
Confirm the Certificate Database password:
LIST THE DEFAULT Server-Cert CERT:
-
root@student:/data/student/opt/SUNWmsgsr/sbin # ./msgcert list-certs
Enter the certificate database password:
AliasValid fromExpires onSelf-signed? Issued by Issued to
-- - ---
Server-Cert 2007/07/19 16:47 2007/10/19 16:47 y CN=student.sunderland.ac.uk Same as issuer
1 certificates found
REMOVE THE DEFAULT Server-Cert SO I CAN ADD A VERISIGN CERT:
- --
root@student:/data/student/opt/SUNWmsgsr/sbin # ./msgcert remove-cert Server-Cert
Enter the certificate database password:
You are going to remove the certificate used by the instance. You will not be able to restart the instance.
GENERATE A CERT REQUEST:
root@student:/data/student/opt/SUNWmsgsr/sbin # ./msgcert request-cert --name mail.student.sunderland.ac.uk --org "University of Sunderland" --org-unit ITaCS --city Sunderland --state "Tyne and Wear" --country GB -F ascii -o /tmp/ssl.req
Enter the certificate database password:
TRY AND IMPORT MY SIGNED CERT WHICH I RECIEVED FROM VERISIGN:
-
root@student:/data/student/opt/SUNWmsgsr/sbin # ./msgcert add-cert Server-Cert /tmp/mail.student.crt
Enter the certificate database password:
Unable to find private key for this certificate.
Failed to add the certificate.
root@student:/data/student/opt/SUNWmsgsr/sbin # ls -l ../config/*.db
-rw-1 mailsrv mail65536 Jul 19 16:52 ../config/cert8.db
-rw-1 mailsrv mail131072 Jul 19 16:52 ../config/key3.db
-rw-1 mailsrv mail131072 Jul 19 16:47 ../config/secmod.db
root@student:/data/student/opt/SUNWmsgsr/sbin # ls -l ../config/sslpassword.conf
-rw-r--1 mailsrv mail 34 Jul 19 16:47 ../config/sslpassword.conf
Please help i have been on this for about a week now!!!!
Best Regards

