You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is pyjks supports loading of base64 decoded data for creating instance of KeyStore, How to add an instance of certificate similar to keytool import
#63
Open
srinivasev opened this issue
Sep 26, 2020
· 2 comments
I need to construct the KeyStore instance using the base64 decoded data pulled from the config map (actually it consists of pre-loaded jks file content in base64 encoded form) . I can see the load method only takes the jks file as input, passing decoded base64 data and creating the KeyStore instance is not possible ?. I want to avoid again creating of the local/temp .jks file just for constructing the Keystore instance.
And, I need to add a new certificate into the created Keystore instance and pull the data from Keystore instance and do the base64 encoding for re-patching into the same configmap.
is this possible with this library ?
The text was updated successfully, but these errors were encountered:
srinivasev
changed the title
Is pyjks supports loading of base64 decoded data and creating instance of KeyStore
Is pyjks supports loading of base64 decoded for creating instance of KeyStore and can i pull the certificates in form of binary data
Sep 26, 2020
srinivasev
changed the title
Is pyjks supports loading of base64 decoded for creating instance of KeyStore and can i pull the certificates in form of binary data
Is pyjks supports loading of base64 decoded data for creating instance of KeyStore, How to add an instance of certificate similar to keytool import
Sep 26, 2020
Can you please let me know on these open points for me ?. @mahmoud@kurtbrose
Can I add the new pem file(actually the certificate) for this keystore instance ? pem file contains the certificate data of an endpoint.
Can I generate a binary data out of this keystore instance for saving back to my configmap.
Right now, I am performing the encoding of .jks file contents after invoking keytool -importcert -trustcacerts -storepass %s -keystore %s -alias %s on the keystore and loading the binary data generated by this keystore file content into the configmap.
My understanding is that using this library I may no need to separately maintain .jks file for each thread call and can do programmatically addition of new certificate and patch it back to the configmap.
Hi,
I need to construct the KeyStore instance using the base64 decoded data pulled from the config map (actually it consists of pre-loaded jks file content in base64 encoded form) . I can see the load method only takes the jks file as input, passing decoded base64 data and creating the KeyStore instance is not possible ?. I want to avoid again creating of the local/temp .jks file just for constructing the Keystore instance.
And, I need to add a new certificate into the created Keystore instance and pull the data from Keystore instance and do the base64 encoding for re-patching into the same configmap.
is this possible with this library ?
The text was updated successfully, but these errors were encountered: