{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleContainerTools/jib/issues/872","repository_url":"https://api.github.com/repos/GoogleContainerTools/jib","labels_url":"https://api.github.com/repos/GoogleContainerTools/jib/issues/872/labels{/name}","comments_url":"https://api.github.com/repos/GoogleContainerTools/jib/issues/872/comments","events_url":"https://api.github.com/repos/GoogleContainerTools/jib/issues/872/events","html_url":"https://github.com/GoogleContainerTools/jib/issues/872","id":353076187,"node_id":"MDU6SXNzdWUzNTMwNzYxODc=","number":872,"title":"plugin fails to push image to insecure docker registry","user":{"login":"naushadamin","id":32485897,"node_id":"MDQ6VXNlcjMyNDg1ODk3","avatar_url":"https://avatars0.githubusercontent.com/u/32485897?v=4","gravatar_id":"","url":"https://api.github.com/users/naushadamin","html_url":"https://github.com/naushadamin","followers_url":"https://api.github.com/users/naushadamin/followers","following_url":"https://api.github.com/users/naushadamin/following{/other_user}","gists_url":"https://api.github.com/users/naushadamin/gists{/gist_id}","starred_url":"https://api.github.com/users/naushadamin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naushadamin/subscriptions","organizations_url":"https://api.github.com/users/naushadamin/orgs","repos_url":"https://api.github.com/users/naushadamin/repos","events_url":"https://api.github.com/users/naushadamin/events{/privacy}","received_events_url":"https://api.github.com/users/naushadamin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-22T18:43:35Z","updated_at":"2018-08-23T12:28:24Z","closed_at":null,"author_association":"NONE","body":"<!-- Thanks for filing an issue! Please use this template to provide more context for the issue . -->\r\n\r\n**Description of the issue**:\r\n**mvn -e jib:build** fails with 'peer not authenticated error'\r\n**Expected behavior**:\r\nplugin pushes Docker image to repo successfully\r\n**Steps to reproduce**: <!-- Please provide a minimal and precise series of steps -->\r\nRun mvn -e jib:build on a maven project\r\n**Environment**: <!-- OS, Maven, and other relevant environment information -->\r\nOSX High Sierra\r\nMaven 3.x\r\n**`jib-maven-plugin` Configuration**: <!-- Delete this section if not used -->\r\n```xml\r\nPASTE YOUR pom.xml CONFIGURATION HERE\r\n\r\n<plugin>\r\n              <groupId>com.google.cloud.tools</groupId>\r\n              <artifactId>jib-maven-plugin</artifactId>\r\n              <version>0.9.7</version>\r\n              <configuration>\r\n              <from>\r\n                <image>openjdk:8u171-alpine</image>\r\n               \r\n              </from>\r\n              <to>\r\n               <image>host:port/${project.artifactId}:${project.version}</image>\r\n          \r\n             </to>\r\n             <container>\r\n                <jvmFlags>\r\n                <jvmFlag>-Xms512m</jvmFlag>\r\n                <jvmFlag>-Xmx512m</jvmFlag>\r\n                </jvmFlags>\r\n             </container>\r\n             <allowInsecureRegistries>true</allowInsecureRegistries>\r\n              </configuration>\r\n          </plugin> \r\n```\r\n\r\n**`jib-gradle-plugin` Configuration**: <!-- Delete this section if not used -->\r\n```groovy\r\nPASTE YOUR build.gradle CONFIGURATION HERE\r\n```\r\n\r\n**Log output**: <!-- If applicable, provide relevant log output -->\r\n\r\n**Additional Information**: <!-- Any additional information that may be helpful -->\r\n\r\n\r\n<!-- Thanks for contributing! -->\r\n"},"comment":{"url":"https://api.github.com/repos/GoogleContainerTools/jib/issues/comments/415396712","html_url":"https://github.com/GoogleContainerTools/jib/issues/872#issuecomment-415396712","issue_url":"https://api.github.com/repos/GoogleContainerTools/jib/issues/872","id":415396712,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTM5NjcxMg==","user":{"login":"naushadamin","id":32485897,"node_id":"MDQ6VXNlcjMyNDg1ODk3","avatar_url":"https://avatars0.githubusercontent.com/u/32485897?v=4","gravatar_id":"","url":"https://api.github.com/users/naushadamin","html_url":"https://github.com/naushadamin","followers_url":"https://api.github.com/users/naushadamin/followers","following_url":"https://api.github.com/users/naushadamin/following{/other_user}","gists_url":"https://api.github.com/users/naushadamin/gists{/gist_id}","starred_url":"https://api.github.com/users/naushadamin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naushadamin/subscriptions","organizations_url":"https://api.github.com/users/naushadamin/orgs","repos_url":"https://api.github.com/users/naushadamin/repos","events_url":"https://api.github.com/users/naushadamin/events{/privacy}","received_events_url":"https://api.github.com/users/naushadamin/received_events","type":"User","site_admin":false},"created_at":"2018-08-23T12:28:24Z","updated_at":"2018-08-23T12:28:24Z","author_association":"NONE","body":"@briandealwis Same result with 0.9.9.\r\n\r\nCaused by: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated\r\n    at sun.security.ssl.SSLSessionImpl.getPeerCertificates (SSLSessionImpl.java:440)\r\n    at org.apache.http.conn.ssl.AbstractVerifier.verify (AbstractVerifier.java:128)\r\n    at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket (SSLSocketFactory.java:339)"}}
{"actor":{"display_login":"naushadamin"}}