Thursday, April 08, 2021

Tip: error: failed to load key pair tls: failed to parse private key

 Symptom:

    When we kubectl create secret tls ..., we hit below error

error: failed to load key pair tls: failed to parse private key

Reason:

    It is likely the private key file is encrypted with a passphrase.

   Use openssl to unencrypt it and use the new key for kubectl 

openssl rsa -in encrypted-private.key -out unencrypted.key

 Enter pass phrase for ...... 

 

 

1 comment:

oihanesaar said...

Rich with games of every kind, the platform accepts gamers from everywhere in the the} world, including Australia. It helps crypto and fiat funds, and it also provides access to extensive 코인카지노 range|a variety} of tournaments. There are a few of} things|are some things} you need to} know earlier than playing in} stay blackjack. First, there are different versions of blackjack available — from basic blackjack to more modern variations like Spanish 21. It’s important to discover a game that fits your abilities and price range. There are also some blackjack bonuses available, so positive to|make positive to|remember to} store around for the best offers.