From 5a8384b50f55929adab490580367e92b9d48d9ec Mon Sep 17 00:00:00 2001 From: Ali anjo <69678339+alianjo@users.noreply.github.com> Date: Fri, 22 Oct 2021 12:26:48 +0330 Subject: [PATCH] fix: prevent an error when we run ```openssl req -x509 -newkey rsa:4096 -days 365 -config openssl.conf -keyout domain.key -out domain.crt ``` we should be in certs directory in this way we are in certs directory and we don't need say : certs/domain.key and certs/domain.crt thanks --- .../docs/Generate certificates for TLS registry.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose-files/docker-registry/docs/Generate certificates for TLS registry.md b/docker-compose-files/docker-registry/docs/Generate certificates for TLS registry.md index 6f9efe1..292036a 100644 --- a/docker-compose-files/docker-registry/docs/Generate certificates for TLS registry.md +++ b/docker-compose-files/docker-registry/docs/Generate certificates for TLS registry.md @@ -31,7 +31,7 @@ Generate the certificate and private key ``` openssl req \ -x509 -newkey rsa:4096 -days 365 -config openssl.conf \ - -keyout certs/domain.key -out certs/domain.crt + -keyout domain.key -out domain.crt ``` To verify your certificate ```