# TLS Key Logging

> Proxyman TLS Key Logging으로 TLS 세션 키를 기록해 파일로 저장하면, Wireshark 또는 TCP Viewer에서 HTTPS 트래픽을 복호화할 수 있습니다.

## 1. 무엇인가요? {#1-whats-it}

Proxyman은 TLS 세션 키를 기록해 txt 파일로 저장할 수 있으므로, Wireshark 또는 [TCP Viewer](https://tcpviewer.proxyman.com/) 앱에서 HTTPS 트래픽을 복호화할 수 있습니다.

## 2. 사용 방법 {#2-how-to-use-it}

1. macOS용 Proxyman을 엽니다
2. Mac에 Proxyman 인증서가 설치되어 있는지 확인합니다. **Certificate** 메뉴 → **Install Certificate on this Mac…**을 선택하고 안내를 따릅니다.
3. **Tools** 메뉴 → **TLS Key Logging…**을 선택합니다.
4. **Enabled TLS Key Logging**을 체크한 다음 **Select Folder…**를 클릭해 로그 파일을 저장할 위치를 선택하고, **Save**를 클릭합니다.

![로깅이 켜져 있고 파일 경로로 Desktop 폴더가 선택된 Proxyman TLS Key Logging 시트](https://proxyman.com/docs/assets/Screenshot%202026-09-03%20at%2012.40.51.png)

_TLS Key Logging 설정_

5. 설정이 끝났습니다. Proxyman이 트래픽을 캡처하면 TLS 키를 추출해 로그 파일에 저장합니다.

* iOS 기기는 [ios-device.md](https://proxyman.com/docs/ko/debug-devices/ios-device)를 따라 iPhone/iPad를 설정합니다.
* Android 기기는 [android-device](https://proxyman.com/docs/ko/debug-devices/android-device)를 따라 설정합니다.
* Android 에뮬레이터는 [google-play-android-emulator-with-magisk.md](https://proxyman.com/docs/ko/debug-devices/android-device/google-play-android-emulator-with-magisk)를 따라 설정합니다.
