
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
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.