Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Other Security (https://www.askmehelpdesk.com/forumdisplay.php?f=476)
-   -   Self Signed Certificate (https://www.askmehelpdesk.com/showthread.php?t=719728)

  • Nov 28, 2012, 09:47 PM
    satishkumar5889
    Self Signed Certificate
    Hi,

    I need to generate a self signed ceritficate.

    After I executing the command

    ·'keytool -genkey -v -keystore MyKeyStore.pfx -storepass MyPassword –storetype pkcs12 -alias MyServer -keyalg rsa -keysize 1024 -dname "CN=MyCommonName" -keypass MyPassword'

    ·'keytool -selfcert -v -keystore MyKeyStore.pfx -storepass MyPassword -storetype pkcs12 -alias MyServer -keyalg rsa -validity 7305'

    I got the keystore and Mykeystore in my defined path. My question is I need to add certicate to my application to act as a ssl server. For testing I prefer self signed certificate.

    But I have not seen .cer or .crt file in any of the path . Please let me know how to create the .cer or .crt file.or else whether I can use .keystore as a ceriticate if yes then how could I implement this.

    Thanks

  • All times are GMT -7. The time now is 12:33 AM.