Add script 'check_cert_for_keycloak.sh' and sample configuration file.
This commit is contained in:
		
							
								
								
									
										123
									
								
								conf/check_cert_for_keycloak.conf.sample
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										123
									
								
								conf/check_cert_for_keycloak.conf.sample
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,123 @@ | ||||
| # ---------------------------------------------- | ||||
| # Settings for script check_cert_for_keycloak.sh | ||||
| # ---------------------------------------------- | ||||
|  | ||||
| # - service_domain | ||||
| # - | ||||
| #service_domain="" | ||||
|  | ||||
|  | ||||
| # - service_name | ||||
| # - | ||||
| # - Name of service. | ||||
| # - | ||||
| # - Note: this var will also be used to determin systemd service file | ||||
| # - or sysVinit script. | ||||
| # - | ||||
| # - Example:  | ||||
| # -    service_name="Mumble" | ||||
| # -    service_name="Prosody" | ||||
| # - | ||||
| # - Defaults to: | ||||
| # -    service_name="Prosody" | ||||
| # - | ||||
| #service_name="" | ||||
|  | ||||
|  | ||||
| # - check_string_ps | ||||
| # - | ||||
| # - String wich (clearly) identifies the service at the process list (ps) | ||||
| # - | ||||
| # - Example: | ||||
| # -    check_string_ps="[[:digit:]]\ /usr/sbin/murmurd" | ||||
| # -    check_string_ps="" | ||||
| # - | ||||
| # - Defaults to: | ||||
| # -    check_string_ps="[[:digit:]]\ lua[[:digit:]].[[:digit:]] /usr/bin/prosody" | ||||
| # - | ||||
| #check_string_ps="" | ||||
|  | ||||
|  | ||||
| # - service_user | ||||
| # - | ||||
| # - User under which the service is running. | ||||
| # - | ||||
| # - Example: | ||||
| # -    service_user="mumble-server" | ||||
| # -    service_user="prosody" | ||||
| # - | ||||
| # - Defaults to: | ||||
| # -    service_user="prosody" | ||||
| # - | ||||
| #service_user="" | ||||
|  | ||||
|  | ||||
| # - service_group | ||||
| # - | ||||
| # - Group under which the service is running. | ||||
| # - | ||||
| # - Example: | ||||
| # -    service_group="mumble-server" | ||||
| # -    service_group="prosody" | ||||
| # - | ||||
| # - Defaults to: | ||||
| # -    service_group="prosody" | ||||
| # - | ||||
| #service_group="" | ||||
|  | ||||
|  | ||||
| # - cert_installed | ||||
| # - | ||||
| # - Locataion of certificate read by service | ||||
| # - | ||||
| # - Example: | ||||
| # -    cert_installed="/var/lib/mumble-server/fullchain.pem" | ||||
| # -    cert_installed="/var/lib/dehydrated/certs/jabber.so36.net/fullchain.pem" | ||||
| # - | ||||
| # - Defaults to: | ||||
| # -    /etc/prosody/certs/${service_domain}.crt | ||||
| # - | ||||
| #cert_installed="" | ||||
|  | ||||
|  | ||||
| # - key_installed | ||||
| # - | ||||
| # - Location of the key read by service | ||||
| # - | ||||
| # - Example: | ||||
| # -    key_installed="/var/lib/mumble-server/privkey.pem" | ||||
| # -    key_installed="/etc/prosody/certs/privkey_jabber.so36.pem" | ||||
| # - | ||||
| # - Defaults to: | ||||
| # -    /etc/prosody/certs/${service_domain}.key | ||||
| # - | ||||
| #key_installed="" | ||||
|  | ||||
|  | ||||
| # - cert_newest | ||||
| # - | ||||
| # - Location of the newest certificate. | ||||
| # - | ||||
| # - Example: | ||||
| # -    cert_newest="/var/lib/dehydrated/certs/il-mumble.oopen.de/fullchain.pem" | ||||
| # -    cert_newest="/var/lib/dehydrated/certs/jabber.so36.net/fullchain.pem" | ||||
| # - | ||||
| # - Defaults to:  | ||||
| # -    /var/lib/dehydrated/certs/${service_domain}/fullchain.pem | ||||
| # - | ||||
| #cert_newest="" | ||||
|  | ||||
|  | ||||
| # - key_newest | ||||
| # - | ||||
| # - Location of the newest Key | ||||
| # - | ||||
| # - Example: | ||||
| # -    key_newest="/var/lib/dehydrated/certs/il-mumble.oopen.de/privkey.pem" | ||||
| # -    key_newest="/var/lib/dehydrated/certs/jabber.so36.net/privkey.pem" | ||||
| # - | ||||
| # - Defaults to: | ||||
| # -    /var/lib/dehydrated/certs/${service_domain}/privkey.pem | ||||
| # - | ||||
| #key_newest="" | ||||
|  | ||||
		Reference in New Issue
	
	Block a user