Skip to content

Instantly share code, notes, and snippets.

@BorysVrublevskyi
Last active December 24, 2021 10:39
Show Gist options
  • Save BorysVrublevskyi/d2fd100613a3722871243b0f7d41608d to your computer and use it in GitHub Desktop.
Save BorysVrublevskyi/d2fd100613a3722871243b0f7d41608d to your computer and use it in GitHub Desktop.

Obtain CA certificate (DC root certificate) from https://my-domain-controller/certsrv/certcarc.asp

You will get certnew.cer

Centos etc (rpm based)

Copy certificate (.cer) to /etc/pki/ca-trust/source/anchors/

update-ca-trust
systemctl restart docker

Ubuntu/Debian (deb based)

Change certificate's (certnew.cer) extension to .crt and copy it to /usr/local/share/ca-certificates/

update-ca-certificates
systemctl restart docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment