{"action":"created","issue":{"url":"https://api.github.com/repos/datawire/forge/issues/141","repository_url":"https://api.github.com/repos/datawire/forge","labels_url":"https://api.github.com/repos/datawire/forge/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/datawire/forge/issues/141/comments","events_url":"https://api.github.com/repos/datawire/forge/issues/141/events","html_url":"https://github.com/datawire/forge/issues/141","id":293470409,"number":141,"title":"Error when using docker registry with self-signed certificates","user":{"login":"beniamin","id":811812,"avatar_url":"https://avatars0.githubusercontent.com/u/811812?v=4","gravatar_id":"","url":"https://api.github.com/users/beniamin","html_url":"https://github.com/beniamin","followers_url":"https://api.github.com/users/beniamin/followers","following_url":"https://api.github.com/users/beniamin/following{/other_user}","gists_url":"https://api.github.com/users/beniamin/gists{/gist_id}","starred_url":"https://api.github.com/users/beniamin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beniamin/subscriptions","organizations_url":"https://api.github.com/users/beniamin/orgs","repos_url":"https://api.github.com/users/beniamin/repos","events_url":"https://api.github.com/users/beniamin/events{/privacy}","received_events_url":"https://api.github.com/users/beniamin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-01T10:05:06Z","updated_at":"2018-02-03T10:03:11Z","closed_at":null,"author_association":"NONE","body":"I am trying to use forge with private docker registry deployed with self-signed certificates, but I encounter following error:\r\n\r\n\r\n>║ == Checking Kubernetes Setup ==\r\n║\r\n║ kubectl version --short\r\n║ Client Version: v1.9.2\r\n║ Server Version: v1.9.2\r\n║ 1 tasks run, 0 errors\r\n║ kubectl get service kubernetes --namespace default\r\n║ NAME         TYPE        CLUSTER-IP   EXTERNAL-IP   PORT(S)   AGE\r\n║ kubernetes   ClusterIP   10.96.0.1    <none>        443/TCP   2d\r\n║ 1 tasks run, 0 errors\r\n║\r\n║ == Setting up Docker ==\r\n║\r\n║ Registry type (one of ecr, gcr, generic)[generic]:\r\n║ Docker registry url[registry.hub.docker.com]: gen-centos755201-all-dev.idoc-alpha.c.emag.network\r\n║ Docker user: testuser\r\n║ Docker password:\r\n║ Docker namespace/organization (use \"-\" to leave unspecified): -\r\n║\r\n║ registry: {type: docker, url: gen-centos755201-all-dev.idoc-alpha.c.emag.network,\r\n║   user: testuser, password: 'dGVzdHBhc3N3b3Jk\r\n║\r\n║     ', namespace: null}\r\n║\r\n║ docker login -u testuser -p <ELIDED> gen-centos755201-all-dev.idoc-alpha.c.emag.network\r\n║ WARNING! Using --password via the CLI is insecure. Use --password-stdin.\r\n║ Login Succeeded\r\n║ docker pull registry.hub.docker.com/datawire/forge-setup-test:1\r\n║ 1: Pulling from datawire/forge-setup-test\r\n║ Digest: sha256:c0537ff6a5218ef531ece93d4984efc99bbf3f7497c0a7726c88e2bb7584dc96\r\n║ Status: Image is up to date for registry.hub.docker.com/datawire/forge-setup-test:1\r\n║ docker tag registry.hub.docker.com/datawire/forge-setup-test:1 gen-centos755201-all-dev.idoc-alpha.c.emag.network/forge_test:dummy\r\n║ docker push gen-centos755201-all-dev.idoc-alpha.c.emag.network/forge_test:dummy\r\n║ The push refers to repository [gen-centos755201-all-dev.idoc-alpha.c.emag.network/forge_test]\r\n║ e154057080f4: Preparing\r\n║ e154057080f4: Layer already exists\r\n║ dummy: digest: sha256:11a6af2edd09100d7a35abacacefd269404cf44aff537668235321d4f4caa485 size: 528\r\n║ GET https://gen-centos755201-all-dev.idoc-alpha.c.emag.network/v2/None/forge_test/manifests/dummy\r\n║ 16 tasks run, 1 errors\r\n║   setup: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)\r\n║\r\n║ -- please try again --\r\n║\r\n║ Registry type (one of ecr, gcr, generic)[generic]:\r\n\r\nMy environment:\r\n- OSX High Sierra\r\n- Docker Version 17.12.0-ce-mac49 (21995)\r\n- forge 0.3.24\r\n\r\nPushing and pulling images from same registry is working with docker push and pull commands."},"comment":{"url":"https://api.github.com/repos/datawire/forge/issues/comments/362795146","html_url":"https://github.com/datawire/forge/issues/141#issuecomment-362795146","issue_url":"https://api.github.com/repos/datawire/forge/issues/141","id":362795146,"user":{"login":"beniamin","id":811812,"avatar_url":"https://avatars0.githubusercontent.com/u/811812?v=4","gravatar_id":"","url":"https://api.github.com/users/beniamin","html_url":"https://github.com/beniamin","followers_url":"https://api.github.com/users/beniamin/followers","following_url":"https://api.github.com/users/beniamin/following{/other_user}","gists_url":"https://api.github.com/users/beniamin/gists{/gist_id}","starred_url":"https://api.github.com/users/beniamin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beniamin/subscriptions","organizations_url":"https://api.github.com/users/beniamin/orgs","repos_url":"https://api.github.com/users/beniamin/repos","events_url":"https://api.github.com/users/beniamin/events{/privacy}","received_events_url":"https://api.github.com/users/beniamin/received_events","type":"User","site_admin":false},"created_at":"2018-02-03T10:03:11Z","updated_at":"2018-02-03T10:03:11Z","author_association":"NONE","body":"Sure. \r\n> ~  ᐅ  python --version\r\nPython 2.7.10\r\n~  ᐅ  python -c \"import ssl; print ssl.OPENSSL_VERSION\"\r\nLibreSSL 2.2.7"}}
{"actor":{"display_login":"beniamin"}}