Splunk AppDynamics

Import an Existing Keypair into the Keystore with PFX File

Tom_Bayhan
New Member

I am trying to go off the AppDynamics documentation for Importing an Existing Keypair into the Keystore found here: https://docs.appdynamics.com/display/PRO45/Controller+SSL+and+Certificates

This assumes that we have the following files:

  • private key: private.key
  • signed public key: cert.crt
  • CA root chain: ca.crt

Do directions exist if I am working from a PFX file? 

I did try to pull the .key and .crt file from the PFX file already.  This resulted in an error when I attempted to follow the instructions in the link. 

image.png

Labels (3)
0 Karma

Sam_Hosseini
Explorer

Hi Thomas,

If you already have a PFX file with the private key and the personal cert and the chain, then you should be able to just move straight to step 2 in the instructions documented here.

  • keytool -importkeystore -srckeystore <.pfx> -srcstoretype pkcs12 -destkeystore keystore.jks -deststoretype JKS


.p12 and .pfx are both PKCS #12 files.

Please do make sure that you change the password for the private key so that it is the same password as the keystore as outlined in step 8.

In case you do want or need to convert certificates, please see the link here which covers how to convert certificates of varying formats.

Regards,

Sam

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Deep insights, no barriers: Splunk Observability Cloud Free Edition

As software delivery cycles continue to accelerate, observability shouldn’t be a luxury — it should be a ...

Monitoring AI Agents with Splunk Observability Cloud

Let’s say I’m running a travel planning AI app in production. A user asks for three concise hotel options in ...

[Puzzles] Solve, Learn, Repeat: Tiling

This puzzle (first published here) is based on finding groups of tessellated tiles (inspired by floor tiles I ...