Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

uso https #299

Open
verypossident opened this issue Oct 10, 2020 · 1 comment
Open

uso https #299

verypossident opened this issue Oct 10, 2020 · 1 comment
Labels

Comments

@verypossident
Copy link

verypossident commented Oct 10, 2020

Ho fatto funzionare l'IdP sotto http. Da qualche giorno sto cercando di attivare https per dei test più approfonditi. Ma non riesco.
Dal log si vede che ascolta su https

INFO:werkzeug: * Running on https://0.0.0.0:443/ (Press CTRL+C to quit)

Il traffico https viene girato all'immagine con docker-proxy (tcpdump sull'host mostra il passaggio di pacchetti verso 172.17.0.2)

Se ritorno all'http, funziona tutto. Ma con https, un wget si ferma all'avvio dell'handshake SSL (la sessione inizia ma non termina)

# openssl s_client -connect <HOST>:443
CONNECTED(00000003)

# wget --debug "https://<HOST>:443"
DEBUG output created by Wget 1.14 on linux-gnu.
Connessione al server |<HOST>|:443... connesso.
Created socket 3.
Releasing 0x00000000016b70f0 (new refcount 1).
Initiating SSL handshake.

EDIT:
Anche ssldump mostra il medesimo sintomo

# ssldump -i docker0
New TCP connection #1: <CLIENT>(41108) <-> 172.17.0.2(443)
1 1  0.0004 (0.0004)  C>S  Handshake

e nessuna risposta.

Qualche idea o suggerimento?
Grazie

@peppelinux
Copy link
Member

hai configurato i certificati all'interno della configurazione di spid-testenv2?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants