Export JKS
#40
-
Hi all, I am a little lost, I have exported a certificate in JKS format... but it is in Base64 format. I am curious how I now convert this to JKS format? But I am really unsure what I should do with this. |
Beta Was this translation helpful? Give feedback.
Answered by
gdbarron
Nov 16, 2021
Replies: 1 comment 4 replies
-
This should work for you... $filename = 'C:\path\to\file'
$bytes = [Convert]::FromBase64String($Certificate.CertificateData)
[IO.File]::WriteAllBytes($filename, $bytes) |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
gdbarron
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This should work for you...