decode tls on mirror port?
Hi! I have a home appliance running on my local network. it's a rail mounted server - that is used to control my light and switches.
i am trying to sniff the network traffic that goes to and from the server.
So i mirrrored the port in my switch. and i am able to see the traffic when i connect to the mirror port with wireshark.
when i do a local http connect to the local ip address on the server i am able to see the trafic and see the http traffic and the json that is sent to and from the server.
i can also connect to the server using https - and by adding the sslkeylogfile. the decodes the tls - and works just fine.
now - my problem is that the server communicates with a cloud service and the cloud service calls the server - using https - which i am not able to decode.
is this at all possible? i would really like to see what goes to and from the servers webserver.
thanks in advance
You need a sslkeylogfile from either side of the TLS connection. Thus generated by the appliance / webserver or the cloud side.
If that TLS traffic passes your capture point (mirrored port) you can use the sslkeylogfile to decrypt.