You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using mTLS to connect to our ETCD server, and our certification file of private key is encrypted (and it must be encrypted), I need to decrypt it before creating tls.X509KeyPair. The parseFunc in TLSInfo seems to be able to achieve this, just like below:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We are using mTLS to connect to our ETCD server, and our certification file of private key is encrypted (and it must be encrypted), I need to decrypt it before creating
tls.X509KeyPair
. TheparseFunc
inTLSInfo
seems to be able to achieve this, just like below:but
parseFunc
is not a public method. Is there a better solution?Beta Was this translation helpful? Give feedback.
All reactions