fix jks parsing for rsa