How to find the private key Dogtag
by Sharath
Hello Team,
I have certificate and the public key but where i can find the private
key ??
pki ca-cert-show 0x30 --output myCert.cer
Key ID: 0x1a
Algorithm: 1.2.840.113549.1.1.1
Size: 1024
Owner: CN=test_sharath01,O=tecra
Public Key:
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCZNLvZQ+WVnBBHM3nw3UldIdVi
droNReev+/iMyaLlvuof4io2V1Yv8oT5Yhfxuoblt+nqdWpAwgFeTHKxTpVmyNpZ
UiyEdhLssIJ5cPGZ0BjRKjehsapPCMZzslvFbVG8Rb8E0md0av9ncJBcM9caicRz
7qeRqqunXFtvfViZ2QIDAQAB
pki -d ~/.dogtag/nssdb -c Secret@123 -n "PKI Administrator for
tecra-db02" kra-key-show 0x1a
Key ID: 0x1a
Algorithm: 1.2.840.113549.1.1.1
Size: 1024
Owner: CN=test_sharath01,O=tecra
Public Key:
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCZNLvZQ+WVnBBHM3nw3UldIdVi
droNReev+/iMyaLlvuof4io2V1Yv8oT5Yhfxuoblt+nqdWpAwgFeTHKxTpVmyNpZ
UiyEdhLssIJ5cPGZ0BjRKjehsapPCMZzslvFbVG8Rb8E0md0av9ncJBcM9caicRz
7qeRqqunXFtvfViZ2QIDAQAB
Thanks,
Sharath
5 years, 1 month
To retrieve private key
by Sharath
Hello Team,
While retrieving getting Null pointer Exception ??
pki -d ~/.dogtag/nssdb -c Secret@123 -n "PKI Administrator for
tecra-db02" kra-key-retrieve --keyID 0x1a --output-data private.key
WARNING: BAD_CERT_DOMAIN encountered on
'CN=tecra-db02,OU=pki-tomcat,O=tecra-db02 Security Domain' indicates a
common-name mismatch
------------------------
Retrieve Key Information
------------------------
NullPointerException: null
Thanks,
Sharath
5 years, 1 month
Generate the certificate with key length 2048
by Sharath
HI Team,
How to generate the certificate with key length of 2048 bits using
dogtag PKI??
How to retrieve the associated public/private key from certificate??
Thanks,
Sharath
5 years, 1 month