'Convert java keystore (.jks format) file to public format (.pem / .cer) file type

Require command to convert .jks file type to .cer/.pem file type



Solution 1:[1]

At file location, need to give following command in cmd prompt window:

keytool -export -rfc -keystore {file-location}\filename.jks -alias filename -file {file-location}\filename.cer

And the new formatter file will be generated at the specified (same) location

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Sagnik Chatterjee