{"action":"created","issue":{"url":"https://api.github.com/repos/jamesdbloom/mockserver/issues/205","repository_url":"https://api.github.com/repos/jamesdbloom/mockserver","labels_url":"https://api.github.com/repos/jamesdbloom/mockserver/issues/205/labels{/name}","comments_url":"https://api.github.com/repos/jamesdbloom/mockserver/issues/205/comments","events_url":"https://api.github.com/repos/jamesdbloom/mockserver/issues/205/events","html_url":"https://github.com/jamesdbloom/mockserver/issues/205","id":120834510,"number":205,"title":"https requests failing with: javax.net.ssl.SSLException: Received fatal alert: certificate_unknown","user":{"login":"schwarzmann","id":16195167,"avatar_url":"https://avatars.githubusercontent.com/u/16195167?v=3","gravatar_id":"","url":"https://api.github.com/users/schwarzmann","html_url":"https://github.com/schwarzmann","followers_url":"https://api.github.com/users/schwarzmann/followers","following_url":"https://api.github.com/users/schwarzmann/following{/other_user}","gists_url":"https://api.github.com/users/schwarzmann/gists{/gist_id}","starred_url":"https://api.github.com/users/schwarzmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schwarzmann/subscriptions","organizations_url":"https://api.github.com/users/schwarzmann/orgs","repos_url":"https://api.github.com/users/schwarzmann/repos","events_url":"https://api.github.com/users/schwarzmann/events{/privacy}","received_events_url":"https://api.github.com/users/schwarzmann/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2015-12-07T18:12:50Z","updated_at":"2016-12-15T22:40:20Z","closed_at":"2016-03-06T07:34:10Z","body":"Hi,\n\nJust trying to run the proxy, and while http works, https is not.  I'm seeing the following stacktrace on both Mac OS (El Capitan) with java 1.8.0_60 and also on Ubuntu 14.04.2 LTS with java 1.8.0_45.  I've tried both the latest distribution and also building code base and I have run the install_ca_certificate.sh script.  Perhaps I missed a setup or configuration step?\n\nThanks,\n-Bob.\n\n$ java -Dmockserver.logLevel=INFO -jar ~/Downloads/mockserver-netty-3.10.1-jar-with-dependencies.jar -serverPort 1080 -proxyPort 1090\n2015-12-07 10:10:49,989 INFO o.m.m.MockServer MockServer started on port: 1080\n2015-12-07 10:10:49,993 INFO o.m.p.http.HttpProxy MockServer proxy started on port: 1090\n2015-12-07 10:10:55,934 WARN o.m.p.r.RelayConnectHandler Exception caught by upstream relay handler -> closing pipeline [id: 0x5fad7478, /0:0:0:0:0:0:0:1:56214 :> 0.0.0.0/0.0.0.0:1090]\nio.netty.handler.codec.DecoderException: javax.net.ssl.SSLException: Received fatal alert: certificate_unknown\n    at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:358) ~[mockserver-netty-3.10.1-jar-with-dependencies.jar:na]\n    at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:230) ~[mockserver-netty-3.10.1-jar-with-dependencies.jar:na]\n    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308) [mockserver-netty-3.10.1-jar-with-dependencies.jar:na]\n    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294) [mockserver-netty-3.10.1-jar-with-dependencies.jar:na]\n    at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846) [mockserver-netty-3.10.1-jar-with-dependencies.jar:na]\n    at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131) [mockserver-netty-3.10.1-jar-with-dependencies.jar:na]\n    at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511) [mockserver-netty-3.10.1-jar-with-dependencies.jar:na]\n    at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468) [mockserver-netty-3.10.1-jar-with-dependencies.jar:na]\n    at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382) [mockserver-netty-3.10.1-jar-with-dependencies.jar:na]\n    at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354) [mockserver-netty-3.10.1-jar-with-dependencies.jar:na]\n    at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112) [mockserver-netty-3.10.1-jar-with-dependencies.jar:na]\n    at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137) [mockserver-netty-3.10.1-jar-with-dependencies.jar:na]\n    at java.lang.Thread.run(Thread.java:745) [na:1.8.0_60]\nCaused by: javax.net.ssl.SSLException: Received fatal alert: certificate_unknown\n    at sun.security.ssl.Alerts.getSSLException(Alerts.java:208) ~[na:1.8.0_60]\n    at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1666) ~[na:1.8.0_60]\n    at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1634) ~[na:1.8.0_60]\n    at sun.security.ssl.SSLEngineImpl.recvAlert(SSLEngineImpl.java:1800) ~[na:1.8.0_60]\n    at sun.security.ssl.SSLEngineImpl.readRecord(SSLEngineImpl.java:1083) ~[na:1.8.0_60]\n    at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:907) ~[na:1.8.0_60]\n    at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:781) ~[na:1.8.0_60]\n    at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624) ~[na:1.8.0_60]\n    at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1135) ~[mockserver-netty-3.10.1-jar-with-dependencies.jar:na]\n    at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1025) ~[mockserver-netty-3.10.1-jar-with-dependencies.jar:na]\n    at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:965) ~[mockserver-netty-3.10.1-jar-with-dependencies.jar:na]\n    at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:327) ~[mockserver-netty-3.10.1-jar-with-dependencies.jar:na]\n    ... 12 common frames omitted\n"},"comment":{"url":"https://api.github.com/repos/jamesdbloom/mockserver/issues/comments/267465715","html_url":"https://github.com/jamesdbloom/mockserver/issues/205#issuecomment-267465715","issue_url":"https://api.github.com/repos/jamesdbloom/mockserver/issues/205","id":267465715,"user":{"login":"astupka","id":11925,"avatar_url":"https://avatars.githubusercontent.com/u/11925?v=3","gravatar_id":"","url":"https://api.github.com/users/astupka","html_url":"https://github.com/astupka","followers_url":"https://api.github.com/users/astupka/followers","following_url":"https://api.github.com/users/astupka/following{/other_user}","gists_url":"https://api.github.com/users/astupka/gists{/gist_id}","starred_url":"https://api.github.com/users/astupka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astupka/subscriptions","organizations_url":"https://api.github.com/users/astupka/orgs","repos_url":"https://api.github.com/users/astupka/repos","events_url":"https://api.github.com/users/astupka/events{/privacy}","received_events_url":"https://api.github.com/users/astupka/received_events","type":"User","site_admin":false},"created_at":"2016-12-15T22:40:20Z","updated_at":"2016-12-15T22:40:20Z","body":"This saved me a lot of headache! Thank you!  I couldn't find this mentioned in the documentation on http://mock-server.com/"}}
{"actor":{"display_login":"astupka"}}