- I don’t understand the need for the certification, from this graph, there’s no direct access to the grpc server, since NO_TLS is deactivated, the Main Gateway will communicate with GRPC Gateway
** img1 **
- I changed the configurations, I removed caddy,
From: drive.mydomain (tunnel, subdomain) → caddy (reverse proxy) → pydio
To: drive.mydomain (tunnel, subdomain) → pydio
CELLS_SITE_NO_TLS=0
CELLS_SITE_BIND="drive.mydomain:443"
CELLS_SITE_EXTERNAL="https://drive.mydomain"
CELLS_LOG="info"
** img2 **
I converted the rootCA.pem and rootCA-key.pem to cells.p12, I installed the certificat on my machine and firefox, but now I’m getting a problem in web and cells-sync:
** img3 **
** img4 **
** img5 **
I’m not used to work with certifications, I tried my best here.
Is there any way to bypass GRPC, like I said before, Web and Android are working fine, I don’t understand the need for it for cells-sync
Otherwise since Main Gateway and GRPC are inter-communicate in the docker container, is there a flag that I can use to disable any TLS checking.
- I enabled
CELLS_SITE_NO_TLS
, I used this configuration:
CELLS_SITE_NO_TLS=1
CELLS_SITE_BIND="0.0.0.0:80"
CELLS_SITE_EXTERNAL="https://drive.mydomain"
CELLS_GRPC_EXTERNAL=8080
CELLS_LOG="info"
I expiremented with this caddy configuration:
:80 {
@grpc header Content-Type application/grpc
handle @grpc {
reverse_proxy h2c://server:8080
}
reverse_proxy server
}
The problem is I can create a tunnel to the server https://drive.mydomain
(no certification problem since I’m using a subdomain [ngrok, zrok, localtonet…]).
I can create another tunnel to GRPC https://grpc.mydomain
Problem cells-sync
will request https://drive.mydomain:8080
.
Is there a way to specify a whole URL for the CELLS_GRPC_EXTERNAL
like this CELLS_GRPC_EXTERNAL="https://grpc.mydomain"
?
Or a flag I can set to force cells-sync
to use a specific URL.
I think this is the best solution if applicable, no TLS no certifications to manage.
All certifications are managed by the tunnel provider.
Best regards,
Taki