neutrinet_ynh issueshttps://gitlab.domainepublic.net/Neutrinet/neutrinet_ynh/-/issues2023-09-29T16:15:21Zhttps://gitlab.domainepublic.net/Neutrinet/neutrinet_ynh/-/issues/29Why is the VPN client config template replaced ?2023-09-29T16:15:21ZHgOWhy is the VPN client config template replaced ?I noticed that the Neutrinet app is replacing the default VPN config template (aka `client.conf.tpl` by its own.
This is quite strange, and I don't understand why this is needed. Also, I think this is done only during the renewal, whic...I noticed that the Neutrinet app is replacing the default VPN config template (aka `client.conf.tpl` by its own.
This is quite strange, and I don't understand why this is needed. Also, I think this is done only during the renewal, which makes it even more bizarre.
For me, we should remove this…
Maybe related: some people are experiencing issues with VPN since a coulpe Yunohost releases.
When I check the current template in the VPN app, there are indeed differences : https://github.com/YunoHost-Apps/vpnclient_ynh/blob/testing/conf/openvpn_client.conf.tpl
For instance, there isn't the `client` property and the keepalived values are not the same.HgOHgOhttps://gitlab.domainepublic.net/Neutrinet/neutrinet_ynh/-/issues/24Generate dummy VPN certificate for testing2022-01-14T21:34:01ZHgOGenerate dummy VPN certificate for testingThe Yunohost CI cannot run the renew script, as the openvpn client is not installed in the test environment.
The script is reading credentials from `/etc/openvpn/keys/credentials`, and the public certificate from `/etc/openvpn/keys/use...The Yunohost CI cannot run the renew script, as the openvpn client is not installed in the test environment.
The script is reading credentials from `/etc/openvpn/keys/credentials`, and the public certificate from `/etc/openvpn/keys/user.crt`. Then, it is calling the renew_cert python script \[1\], which will just check the expiration date of the certificate. It will do complex stuff only when the certificate must be renewed.