Jump to content
We've recently updated our Privacy Statement, available here ×
  • How to read .jrsks and .jrsksp keystore files


    Jivan Phadtare
    • Version: v8.0 Product: JasperReports® Server

    1) .jrsks  is Java keystore file and .jrsksp keystore properties with Base64 encoded.

    2) We can read  .jrsksp file.

    3) In windows, using following command we can read .jrsksp file content and data.txt file will be generated at specified location.

    certutil -decode <location_of_file>.jrsksp <location_of_ourput_file_to_be_generated>data.txt

    Post data.txt file generation, open this file and look for below keystore password.

    ksPwd = 

    This password is base64 encoded and need to decode it from URL : https://www.base64decode.org/

    4) Once we decode the password use it to view .jrsks file.

    To view .jrsks below command can be used in windows which will ask for password where decoded password from step-3) need to provide.

    keytool -v -list -keystore .jrsks

    5) In linux, we can use below command to decod and view the keystore file.

    `cat ~/.jrsksp | openssl base64 -d`

    e.g. :  cat /opt/home/jasperserver/.jrsksp | openssl base64 -d

     

    For more reference, kindly visit below URL :

    https://stackoverflow.com/questions/12893995/how-to-check-certificate-name-and-alias-in-keystore-files

     


    User Feedback

    Recommended Comments

    There are no comments to display.



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...