-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Environment:
- FreeRDP version 3.17.2-dev0 (934a4866e)
- Windows Server 2025 VM, Standard Evaluation Version: 24H2, OS build: 26100.6584, Experience: Windows Feature Experience Pack 1000.26100.234.0
- Server: Windows 11 VM, Enterprise Version: 22H2, OS build: 19045.6332
- Client: macOS Tahoe 26.0; Chip Apple M1
Preconditions:
- Windows Server 2025 VM is configured and launched:
- set up and configure Active Directory
- set up and configure DNS server
- aet up and configure Certification Authority
- set up and configure certificate template for the RDP smartcard logon
- create a user for the domain-joined machine
- Domain-joined Windows 11 VM is configured and launched:
- join WIndows 11 to our domain
- allow RDP access
- disable NTLM to make sure that we always use Kerberos for NLA and not NTLM
- YubiKey minidriver installed
- Smart card device (YubiKey with supporting PIV) is configured:
- set up Yubikey 5 Nano with enrolled certificate
- macOS machine with connected smart card is configured and launched:
- macOS with libykcs11.dylib installed
- set up environment variables:
SSPI_PKCS11_MODULE_PATH - <path/to/libykcs11.dylib module>
SSPI_KDC_URL -
SSPI_LOG_LEVEL - trace
SSPI_LOG_PATH - <path/to/logfile>
SSPI_SCARD_TYPE - system
WINSCARD_USE_SYSTEM_SCARD - true
WINSCARD_SMARTCARD_CONTAINER_NAME -
WINSCARD_CERTIFICATE_FILE_PATH - <path/to/smartcard/certificate>
Steps:
- Open terminal on the macOS machine
- Launch FreeRDP session using command:
./sdl-freerdp /v:DP11PRO.qaexample.com /u:joemoon /d:qaexample.com /p:123456 /smartcard-logon /sec:nla /cert:ignore /log-level:TRACE /auth-pkg-list:!ntlm,kerberos /sspi-module:/Users/user/Desktop/sspi-rs/18-09-2025_macps_system_scard_support/libsspi.dylib /kerberos:pkcs11-module:"/opt/homebrew/lib/libykcs11.2.7.2.dylib" /winscard-module:/Users/user/Desktop/sspi-rs/18-09-2025_macps_system_scard_support/libsspi.dylib > rdp.out.log
Actual Result: FreeRDP session connection failed with error the requested key container does not exist on the smart card, see video, sspi.log and rdp.out.log in attach: FreeRDP-failed-requested key-container-not-exist.mov, sspi.log, rdp.out.log
Expected Result: The FreeRDP connection should be established successfully. The user should be granted access to the system, and the system should proceed to the user's desktop. You can see the remote screen.
FreeRDP-failed-requested.key-container-not-exist.mov
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working