Closed DaspawnW closed 6 years ago
Hi @DaspawnW
I've just configured an api following your steps and it works.
$ curl -vv http://localhost:8082/ifconfig
* Trying ::1...
* TCP_NODELAY set
* Connected to localhost (::1) port 8082 (#0)
> GET /ifconfig HTTP/1.1
> Host: localhost:8082
> User-Agent: curl/7.54.0
> Accept: */*
>
< HTTP/1.1 200 OK
< X-Gravitee-Transaction-Id: 0838dbff-3923-460d-b8db-ff3923660d59
< Server: nginx
< Date: Fri, 02 Mar 2018 08:46:09 GMT
< Content-Type: text/plain; charset=utf-8
< Content-Length: 14
< Connection: keep-alive
< Strict-Transport-Security: max-age=15768000; includeSubdomains; preload
<
xxx.xxx.xxx.xxx
* Connection #0 to host localhost left intact
do you have a proxy or something else between the gateway and internet ?
Hi @NicolasGeraud,
I've the following architecture: One Instance with management-ui, management-api, mongodb, elasticsearch and in front of the ui and api I've a nginx proxy for ssl... One Instance with gateway and in front of the gateway also a nginx proxy with ssl...
We use no proxy (thank god for that)... Currently I try to build my own docker image I hope this can fix the issue for us
[Update] My own Java 8 Docker image fixed the issue.
@DaspawnW you mean that with our docker image it doesn't work ?
what is different between yours and ours ?
That's a good question, I don't know I used them directly from docker hub
@DaspawnW can you give me the java version of your ubuntu ?
Please try this :
GATEWAY_HOME/boot
GATEWAY_HOME/bin/gravitee
jetty-alpn-agent-2.0.6.jar
by jetty-alpn-agent-2.0.7.jar
Expected Behavior
If I add a trustStore I would be able to access environments with self signed certificates.
Current Behavior
I tried to connect to some internal Services that use self signed certificates and also tried to access https://ifconfig.co that seems to be signed by Let's Encrypt. When I try to use it in the gateway an exception is thrown:
Steps to Reproduce (for bugs)
Context
I tried to find some solution for it, but currently I don't know how to handle the problem.
Your Environment