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.