Hello All,
I am new to openVPN world. I am working on a project which is based on microk8s based docker containered application. This python based app which creates openvpn tunnel with the server. So for the connection creation part, it creates the private key and cert data which am storing in kubernetes secrets using their python client apis. Now as the key/cert are stored in k8s secret store, I want to use those values referred inside my openvpn client config files under the SSL/TLS section as below-
ca /path/to/ca.crt
cert /mount/openvpn/ms.crt => to be replaced with data from k8s secret value
key /mount/openvpn/private.key => to be replaced with data from k8s secret value
Whether there is any ways in openvpn to read the secrets from k8s secrets and provide as values to cert and key elements replacing the local file paths?
Appreciate your help on this.
thanks