mirror of
				https://github.com/laurivosandi/certidude
				synced 2025-10-31 01:19:11 +00:00 
			
		
		
		
	Fix CRL path for configuration generators
This commit is contained in:
		| @@ -666,7 +666,7 @@ def certidude_setup_strongswan_networkmanager(authority, remote): | |||||||
|         client_config.set(authority, "key path", "/etc/ipsec.d/private/%s.pem" % const.HOSTNAME) |         client_config.set(authority, "key path", "/etc/ipsec.d/private/%s.pem" % const.HOSTNAME) | ||||||
|         client_config.set(authority, "certificate path", "/etc/ipsec.d/certs/%s.pem" % const.HOSTNAME) |         client_config.set(authority, "certificate path", "/etc/ipsec.d/certs/%s.pem" % const.HOSTNAME) | ||||||
|         client_config.set(authority, "authority path",  "/etc/ipsec.d/cacerts/ca.pem") |         client_config.set(authority, "authority path",  "/etc/ipsec.d/cacerts/ca.pem") | ||||||
|         client_config.set(authority, "authority path",  "/etc/ipsec.d/crls/ca.pem") |         client_config.set(authority, "revocations path",  "/etc/ipsec.d/crls/ca.pem") | ||||||
|         with open(const.CLIENT_CONFIG_PATH + ".part", 'wb') as fh: |         with open(const.CLIENT_CONFIG_PATH + ".part", 'wb') as fh: | ||||||
|             client_config.write(fh) |             client_config.write(fh) | ||||||
|         os.rename(const.CLIENT_CONFIG_PATH + ".part", const.CLIENT_CONFIG_PATH) |         os.rename(const.CLIENT_CONFIG_PATH + ".part", const.CLIENT_CONFIG_PATH) | ||||||
| @@ -708,7 +708,7 @@ def certidude_setup_openvpn_networkmanager(authority, remote): | |||||||
|         client_config.set(authority, "key path", "/etc/ipsec.d/private/%s.pem" % const.HOSTNAME) |         client_config.set(authority, "key path", "/etc/ipsec.d/private/%s.pem" % const.HOSTNAME) | ||||||
|         client_config.set(authority, "certificate path", "/etc/ipsec.d/certs/%s.pem" % const.HOSTNAME) |         client_config.set(authority, "certificate path", "/etc/ipsec.d/certs/%s.pem" % const.HOSTNAME) | ||||||
|         client_config.set(authority, "authority path",  "/etc/ipsec.d/cacerts/ca.pem") |         client_config.set(authority, "authority path",  "/etc/ipsec.d/cacerts/ca.pem") | ||||||
|         client_config.set(authority, "authority path",  "/etc/ipsec.d/crls/ca.pem") |         client_config.set(authority, "revocations path",  "/etc/ipsec.d/crls/ca.pem") | ||||||
|         with open(const.CLIENT_CONFIG_PATH + ".part", 'wb') as fh: |         with open(const.CLIENT_CONFIG_PATH + ".part", 'wb') as fh: | ||||||
|             client_config.write(fh) |             client_config.write(fh) | ||||||
|         os.rename(const.CLIENT_CONFIG_PATH + ".part", const.CLIENT_CONFIG_PATH) |         os.rename(const.CLIENT_CONFIG_PATH + ".part", const.CLIENT_CONFIG_PATH) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user