Docker push to Nexus Repository is failing

Hi,

I have done the fresh installation of the Nexus Repository with nexus-3.19.1-01-unix.tar.gz. Followed the documentation to configure the repository connector to have https support.

When I try to execute the docker push it fails with the error
“error parsing HTTP 405 response body: invalid character”

Link: Using Self-Signed Certificates with Nexus Repository Manager and Docker Daemon – Sonatype Support

# docker push dockercentral:7200/tr069adapter-acs-factorydb:0.19.0
The push refers to repository [dockercentral:7200/tr069adapter-acs-factorydb]
c682eea5cec6: Preparing
e08c2d0903ba: Preparing
ceaf9e1ebef5: Preparing
9b9b7f3d56a0: Preparing
f1b5933fe4b5: Preparing
error parsing HTTP 405 response body: invalid character '<' looking for beginning of value: "\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n  <title>405 - Nexus Repository Manager</title>\n  <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/>\n\n\n  <!--[if lt IE 9]>\n  <script>(new Image).src=\"https://dockercentral:7200/favicon.ico?3.19.1-01\"</script>\n  <![endif]-->\n  <link rel=\"icon\" type=\"image/png\" href=\"https://dockercentral:7200/favicon-32x32.png?3.19.1-01\" sizes=\"32x32\">\n  <link rel=\"mask-icon\" href=\"https://dockercentral:7200/safari-pinned-tab.svg?3.19.1-01\" color=\"#5bbad5\">\n  <link rel=\"icon\" type=\"image/png\" href=\"https://dockercentral:7200/favicon-16x16.png?3.19.1-01\" sizes=\"16x16\">\n  <link rel=\"shortcut icon\" href=\"https://dockercentral:7200/favicon.ico?3.19.1-01\">\n  <meta name=\"msapplication-TileImage\" content=\"https://dockercentral:7200/mstile-144x144.png?3.19.1-01\">\n  <meta name=\"msapplication-TileColor\" content=\"#00a300\">\n\n  <link rel=\"stylesheet\" type=\"text/css\" href=\"https://dockercentral:7200/static/css/nexus-content.css?3.19.1-01\"/>\n</head>\n<body>\n<div class=\"nexus-header\">\n  <a href=\"https://dockercentral:7200\">\n    <div class=\"product-logo\">\n      <img src=\"https://dockercentral:7200/static/images/nexus.png?3.19.1-01\" alt=\"Product logo\"/>\n    </div>\n    <div class=\"product-id\">\n      <div class=\"product-id__line-1\">\n        <span class=\"product-name\">Nexus Repository Manager</span>\n      </div>\n      <div class=\"product-id__line-2\">\n        <span class=\"product-spec\">OSS 3.19.1-01</span>\n      </div>\n    </div>\n  </a>\n</div>\n\n<div class=\"nexus-body\">\n  <div class=\"content-header\">\n    <img src=\"https://dockercentral:7200/static/rapture/resources/icons/x32/exclamation.png?3.19.1-01\" alt=\"Exclamation point\" aria-role=\"presentation\"/>\n    <span class=\"title\">Error 405</span>\n    <span class=\"description\">Method Not Allowed</span>\n  </div>\n  <div class=\"content-body\">\n    <div class=\"content-section\">\n      HTTP method POST is not supported by this URL\n    </div>\n      </div>\n</div>\n</body>\n</html>\n\n"
#

Kindly suggest what am i missing.

Hey,
Tried this approach too - and its a mess.
I would suggest to put an Reverse proxy (Apache in my case) in front of Docker Nexus repositories and handle the SSL part on this side.
Much easier - less pain.

Q