Replies: 1 comment 1 reply
-
I'm not sure if there is a way to override the TLS certificate. However, I will have a look at this as soon as I can. This seems like if it doesn't work, it's a reasonable feature request. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello there,
When I try to deploy my tests under these conditions through the HTTP protocol with the following options in
arquillian.xml
:I get this error.
The relevant line appears to be:
which I guess happens because, when trying to connect to the management console using HTTP, it answers back with a redirect asking to use HTTPS instead, which happens when using
jboss-cli
.(If my analisis is correct, I don't know why a redirect would be problem for the deployment process).
If I modify my
arquillian.xml
to deploy using HTTPS instead:I get this error instead.
The relevant exception seems to be:
which makes sense, since my Wildfly instance is using a self-signed certificate.
If I disable HTTPS for the management console, and I try to deploy using HTTP with the first config I showed in this discussion, then Arquillian can deploy my tests correctly.
The thing is, I would rather not disable HTTPS because it's not desirable to create a difference between my development and production environments.
Also, I would rather not import the self-signed certificate to my trust store since I would need to do that for every project where I use Arquillian for integration testing. Every project has its own VM replicating the production environment, and those VMs could be destroyed and recreated as a matter of routine, meaning I would have to import the certificates again, which would create friction when it comes to running these tests.
Disabling HTTPS is a simple enough solution, but is there another workaround for my situation?
For example, I was thinking about configuring Arquillian to ignore TLS certificate validity when deploying. Can I do that?
I'm afraid I can't provide a minimally reproducing example, but I'll supply whatever debug info that's needed.
Beta Was this translation helpful? Give feedback.
All reactions