1 Reply Latest reply on Jul 19, 2013 1:28 AM by Roman Sachar

    CertificateException when testing with arquillian on glassfish-remote

    Roman Sachar Newbie

      When trying to run tests with arquillian with adminHttps option set to true, got an exception:

       

      Could not connect to DAS on: (...) |  java.security.cert.CertificateException: No subject alternative names  present org.jboss.arquillian.container.spi.client.container.LifecycleException:  Could not connect to DAS on: (...) |  java.security.cert.CertificateException: No subject alternative names  present     at  org.jboss.arquillian.container.glassfish.CommonGlassFishManager.start(CommonGlassFishManager.java:77)      at  org.jboss.arquillian.container.glassfish.remote_3_1.GlassFishRestDeployableContainer.start(GlassFishRestDeployableContainer.java:59)      at  org.jboss.arquillian.container.impl.ContainerImpl.start(ContainerImpl.java:199)

       

      I think that I should import a certificate, but can't find how, how to attach or if it's realy that problem. Any idea? Thanks for sugestions.

       

      The examples which I found were without ssl turned on.

       

       

      arquillian-glassfish-remote-3.1->1.0.0.CR4

      glassfish-embedded-web->3.1.2