{"action":"created","issue":{"url":"https://api.github.com/repos/hortonworks/registry/issues/423","repository_url":"https://api.github.com/repos/hortonworks/registry","labels_url":"https://api.github.com/repos/hortonworks/registry/issues/423/labels{/name}","comments_url":"https://api.github.com/repos/hortonworks/registry/issues/423/comments","events_url":"https://api.github.com/repos/hortonworks/registry/issues/423/events","html_url":"https://github.com/hortonworks/registry/pull/423","id":306857421,"number":423,"title":"Option to configure security in Schema Registry cluster provided.","user":{"login":"kamalcph","id":11411249,"avatar_url":"https://avatars2.githubusercontent.com/u/11411249?v=4","gravatar_id":"","url":"https://api.github.com/users/kamalcph","html_url":"https://github.com/kamalcph","followers_url":"https://api.github.com/users/kamalcph/followers","following_url":"https://api.github.com/users/kamalcph/following{/other_user}","gists_url":"https://api.github.com/users/kamalcph/gists{/gist_id}","starred_url":"https://api.github.com/users/kamalcph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamalcph/subscriptions","organizations_url":"https://api.github.com/users/kamalcph/orgs","repos_url":"https://api.github.com/users/kamalcph/repos","events_url":"https://api.github.com/users/kamalcph/events{/privacy}","received_events_url":"https://api.github.com/users/kamalcph/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-20T13:07:52Z","updated_at":"2018-03-20T13:10:55Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/hortonworks/registry/pulls/423","html_url":"https://github.com/hortonworks/registry/pull/423","diff_url":"https://github.com/hortonworks/registry/pull/423.diff","patch_url":"https://github.com/hortonworks/registry/pull/423.patch"},"body":"While running the registry cluster in docker, we can specify whether to enable / disable the Kerberos authentication."},"comment":{"url":"https://api.github.com/repos/hortonworks/registry/issues/comments/374591519","html_url":"https://github.com/hortonworks/registry/pull/423#issuecomment-374591519","issue_url":"https://api.github.com/repos/hortonworks/registry/issues/423","id":374591519,"user":{"login":"kamalcph","id":11411249,"avatar_url":"https://avatars2.githubusercontent.com/u/11411249?v=4","gravatar_id":"","url":"https://api.github.com/users/kamalcph","html_url":"https://github.com/kamalcph","followers_url":"https://api.github.com/users/kamalcph/followers","following_url":"https://api.github.com/users/kamalcph/following{/other_user}","gists_url":"https://api.github.com/users/kamalcph/gists{/gist_id}","starred_url":"https://api.github.com/users/kamalcph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamalcph/subscriptions","organizations_url":"https://api.github.com/users/kamalcph/orgs","repos_url":"https://api.github.com/users/kamalcph/repos","events_url":"https://api.github.com/users/kamalcph/events{/privacy}","received_events_url":"https://api.github.com/users/kamalcph/received_events","type":"User","site_admin":false},"created_at":"2018-03-20T13:10:55Z","updated_at":"2018-03-20T13:10:55Z","author_association":"CONTRIBUTOR","body":"@priyank5485 \r\n\r\nI'm facing the below the error in registry docker after the addition of JWT. How to resolve it ?\r\n\r\n```\r\nERROR [2018-03-20 12:01:43,327] io.dropwizard.cli.ServerCommand: Unable to start server, shutting down\r\n! java.lang.IllegalArgumentException: Illegal base64 character 3c\r\n! at java.util.Base64$Decoder.decode0(Base64.java:714)\r\n! at java.util.Base64$Decoder.decode(Base64.java:526)\r\n! at sun.security.util.Pem.decode(Pem.java:47)\r\n! ... 48 common frames omitted\r\n! Causing: java.io.IOException: java.lang.IllegalArgumentException: Illegal base64 character 3c\r\n! at sun.security.util.Pem.decode(Pem.java:49)\r\n! at sun.security.provider.X509Factory.readOneBlock(X509Factory.java:638)\r\n! at sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:96)\r\n! ... 46 common frames omitted\r\n! Causing: java.security.cert.CertificateException: Could not parse certificate: java.io.IOException: java.lang.IllegalArgumentException: Illegal base64 characte\r\nr 3c\r\n! at sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:110)\r\n! at java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.java:339)\r\n! at com.hortonworks.registries.auth.util.CertificateUtil.parseRSAPublicKey(CertificateUtil.java:50)\r\n! ... 44 common frames omitted\r\n! Causing: javax.servlet.ServletException: CertificateException - PEM may be corrupt\r\n! at com.hortonworks.registries.auth.util.CertificateUtil.parseRSAPublicKey(CertificateUtil.java:60)\r\n! at com.hortonworks.registries.auth.server.JWTAuthenticationHandler.init(JWTAuthenticationHandler.java:128)\r\n! at com.hortonworks.registries.auth.server.AuthenticationFilter.initializeAuthHandler(AuthenticationFilter.java:238)\r\n! at com.hortonworks.registries.auth.server.AuthenticationFilter.init(AuthenticationFilter.java:224)\r\n! at org.eclipse.jetty.servlet.FilterHolder.initialize(FilterHolder.java:137)\r\n! at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:856)\r\n! at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:349)\r\n! at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:772)\r\n! at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:262)\r\n! at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)\r\n! at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)\r\n! at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:106)\r\n! at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)\r\n! at com.codahale.metrics.jetty9.InstrumentedHandler.doStart(InstrumentedHandler.java:103)\r\n! at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)\r\n! at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)\r\n! at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)\r\n! at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)\r\n! at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)\r\n! at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)\r\n! at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:106)\r\n! at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)\r\n! at org.eclipse.jetty.server.handler.gzip.GzipHandler.doStart(GzipHandler.java:231)\r\n! at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)\r\n! at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)\r\n! at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:106)\r\n! at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)\r\n! at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)\r\n! at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)\r\n! at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:106)\r\n! at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)\r\n! at org.eclipse.jetty.server.handler.StatisticsHandler.doStart(StatisticsHandler.java:252)\r\n! at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)\r\n! at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)\r\n! at org.eclipse.jetty.server.Server.start(Server.java:411)\r\n! at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:106)\r\n! at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)\r\n! at org.eclipse.jetty.server.Server.doStart(Server.java:378)\r\n! at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)\r\n! at io.dropwizard.cli.ServerCommand.run(ServerCommand.java:53)\r\n! at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:44)\r\n! at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:85)\r\n! at io.dropwizard.cli.Cli.run(Cli.java:75)\r\n! at io.dropwizard.Application.run(Application.java:79)\r\n! at com.hortonworks.registries.webservice.RegistryApplication.main(RegistryApplication.java:296)\r\n```"}}
{"actor":{"display_login":"kamalcph"}}