puppet-openvpn
                                
                                 puppet-openvpn copied to clipboard
                                
                                    puppet-openvpn copied to clipboard
                            
                            
                            
                        Make ecdh-curve optional
Pull Request (PR) description
Make ecdh-curve optional, if no dh key is defined.
In OpenVPN 2.5 (I initially test the EC keys with OpenVPN 2.4), define ecdh-curve will throw an warning
Consider setting groups/curves preference with tls-groups instead of forcing a specific curve with ecdh-curve.
This Pull Request (PR) fixes the following issues
@bastelfreak BC change cloud be discussable, it would not break an existing OVPN setup.
Can I help here to move forward here?
This will purge ecdh-curve from the config. doesn't that effect existing configurations? Or is secp384r1 the default value?
If ecdh-curve is purged from config, the defaults will be inherit from tls-groups option. The default is X25519:secp256r1:X448:secp521r1:secp384r1
If you do not force the ecdh curve by using --ecdh-curve, the groups for ecdh will also be picked from this list.
https://build.openvpn.net/man/openvpn-2.5/openvpn.8.html