Skip to content

maurodelazeri/gorilla

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gorilla

SSL validation based on vhosts

Possible outputs

./gorilla
OK - All certs are updated.
./gorilla -dirs="/var/apache2/vhosts" -daysexpiration=5
WARNING - Checked 1 cert that need to be updated, please check for more details /etc/certificates.lock

Dynamic parameters

go run gorilla.go -help
  -daysexpiration int
    	Number of days before warning (default 15)
  -dirs string
   	Directories be checked to find certs (default "/etc/nginx/sites-enabled,/etc/apache2/sites-enabled,/etc/nginx/vhosts.d,/etc/apache2/vhosts.d")
  -letsencrypt
    	Check only if the certificate was issued by letsencrypt (default true)
  -lockfike string
    	Lock file location (default "/etc/certificates.lock")
  -verbosity int
    	0 = only errors, 1 = important things, 2 = all (default 2)

Releases

No releases published

Packages

No packages published

Languages