How to get openssl rsa private key out of private_key.json

Awesome - thank you for the go code. I was able to extract a valid RSA key out of the private_key.json file. Saved this off to a private_key.pem file and openssl reports “RSA key ok” when I run a ‘-check’ against it.

Now I’m trying to sort out why the key extracted is being reported by openssl as not matching the certificate I was issued by letsencrypt. Am I just not caffeinated enough and completely missing how this private key is used in letsencrypt?

End result I need is both the private key and certificate available so that I can use them in a slapd instance.