Skip to content

Auto generate PKI to configure docker deamon with TLS

Notifications You must be signed in to change notification settings

PierreHachard/docker-scanner

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker Scanner

This repository contains a script to easily configure a docker daemon with the Cyberwatch application before allowing to scan for vulnerabilities in docker images.

Generate a PKI for the docker daemon

Run

generate-certs

This step will generate 2 files:

  • certs/ca/cert.pem: This is the public certificate of the CA. It is required by both servers and clients to mutually verifiy their authenticy. It is not sensitive.
  • certs/ca/key.pem: This is the private key of the CA. It is required for generating new server or client certificates. It is sensitive: anyone with this key may authenticate against your Docker runners.

Upload the PKI on Cyberwatch (optional)

Run :

upload-certs

References

About

Auto generate PKI to configure docker deamon with TLS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%