-
-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crl_auto_renew not working RedHat versions due to alias #442
Comments
Shell aliases don't exist in the shell environment of puppet. |
Damn thought I was on to something, guess I need to keep looking. @kenyon do you have any pointers where I can look? |
even if the provider is 'shell'? |
Yes, even if the provider is shell. Also "crl" is certificate revocation list, which has nothing to do with certificate renewals. I don't see any certificate renewal functionality in this module. |
In manifests/server.pp
|
we use easyrsa version 3, just for extra info |
I added these values to our config
and it did actually renew certificate, so I have no idea why it was failing and requiring me to do it manually after the certificate expired every month. We have 3 VPN server configured by puppet so I have changed them to different settings and will keep an eye on if it regenerates them and will see if we get the same issue next month |
There is no certificate being renewed, it is the CRL that's being renewed. |
Okay sorry my wording is wrong, whatever it is it's not been working (although use to with this module) the error is TLS error which made me think of certificates. Whatever it is it still brings down the VPN |
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
from hiera for openvpn::serevers:
What are you seeing
The certificates don't auto renew all though they used to, maybe before we switched to Centos Stream, can't remember the details of exactly when it went wrong, I tought that the fix in the changelog for v10.2.1 would sort it but it didn't for us #437
What behaviour did you expect instead
Certificates are renewed automatically
Any additional information you'd like to impart
I have been digging into it deeper and I believe the issue is because RedHat sets up an automatic alias for the cp command which turns it into interactive mode
I had noticed that when we run it manually to fix then it always asks for confirmation.
The text was updated successfully, but these errors were encountered: