Description | This article describes how to extract certificates from SSL/TLS handshake(i.e. https, eap-tls negotiation, etc) packet capture using Wireshark. |
Scope | FortiGate |
Solution |
1) Start capture and enable filters in GUI -> Network -> Packet Capture.
2) Download the capture and open it on Wireshark.
3) From Wireshark, use the filter: tls.handshake.type eq 11 This will filter all packets that contains the certificate. Additionally, one might need to add specific destination IP among the others.
4) Select the packet that contains the certificate that needs to be downloaded and Select Transport Layer Security -> TLSv1.X Record Layer -> Handshake Protocol: Certificate -> Certificates
5). Right click on the Certificate that needs to be downloaded, then select 'Export Packet Bytes'.
6) Select the desired folder location, set the file name with .cer or .crt file extension, and make sure that type is set as All Files.
7) Extraction the certificate from a pcap file is completed now.
Sample from eap-tls over radius capture:
|
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.