Skip to main content
Certificate file with .p12 extension is transferred to one of Kubernetes Control Plane servers and moved/copied to /etc/ssl/certs directory. While at the relevant address, the certificate file is loaded to Kubernetes as a secret with the following command.
If you only have a file with .jks extension, a file with .p12 extension can be created from this file as follows. Then the previous step is applied. To get the alias definition of the certificate, the following code is run.
A file with .p12 extension is created from the .jks extension file with known alias definition.
Variables to be defined: An example deployment yaml file where certificate information is used will be as follows.