PIV and CAC card issues on Mac can be frustrating, especially when you’re trying to access critical government systems. This comprehensive troubleshooting guide covers the most common problems and their solutions, organized from simple fixes to more complex resolutions.
Understanding PIV/CAC on Mac
Before diving into troubleshooting, it helps to understand how PIV and CAC cards work with macOS. Your smart card contains digital certificates that prove your identity. When you insert the card, macOS reads these certificates and makes them available for authentication.

Key Components
The smart card reader connects via USB and communicates with your card. macOS includes built-in drivers for CCID-compliant readers. Keychain Access manages the certificates, and various applications request authentication through the system keychain.
When something goes wrong, the issue typically falls into one of four categories: hardware problems, driver issues, certificate problems, or application configuration.
Quick Diagnostic Steps
Before detailed troubleshooting, run through these quick checks. Many issues are resolved at this stage.
Physical Connection Check
Remove and reinsert your card reader. Try a different USB port—USB-C ports on newer Macs are generally more reliable than adapters. Check the card itself for visible damage or dirty contacts. Clean the gold contacts gently with a soft, dry cloth if they appear dirty.
Card Reader Light Verification
Most readers have an LED indicator. A solid or blinking light typically indicates the reader is powered. If there’s no light, try a different USB port or cable if applicable.
System Information Check
Open Apple Menu > About This Mac > System Report > USB. Your card reader should appear in the USB device list. If it’s not listed, you have a hardware or driver issue. If it appears, the physical connection is working.
Card Reader Not Recognized
If your card reader doesn’t appear in System Information, work through these solutions.
USB Port and Cable Issues
USB-C adapters can fail or provide insufficient power. Connect directly to a USB-C port if your reader supports it. If using a hub, try connecting the reader directly to the Mac.
Some readers require more power than a hub can provide. USB 3.0 ports deliver more power than USB 2.0. If your reader has both connection types, try the USB 3.0 option.
Driver Conflicts
Third-party card reader software can conflict with macOS built-in drivers. Check for and remove any card reader vendor software unless specifically required by your agency.
To check for kernel extensions, open Terminal and run: kextstat | grep -v apple. If you see card reader-related extensions, they may need updating or removal. Consult with IT before removing any extensions.
SMC and NVRAM Reset
For Intel Macs, resetting the SMC can resolve USB power issues. Shut down, then hold Shift+Control+Option and the power button for 10 seconds. Release all keys and power on normally.
For Apple Silicon Macs, a simple restart typically achieves the same effect—shut down, wait 30 seconds, then power on.
To reset NVRAM on Intel Macs, restart and immediately hold Option+Command+P+R for about 20 seconds. This resets certain system settings and can resolve peripheral detection issues.
Card Not Detected by Reader
If the reader is recognized but the card isn’t detected, the issue is typically with the card itself or how it’s being read.
Card Insertion
Verify the card is inserted correctly—chip side usually faces up or toward the USB end, depending on your reader model. Insert fully until you feel resistance. Some readers require the card to click into place.
Card Contact Cleaning
Dirty or oxidized contacts are a common cause of detection failures. Remove the card and clean the gold chip contacts with a soft, lint-free cloth. Do not use water, alcohol, or cleaning solutions unless specifically approved for smart cards. Let the card dry completely before reinserting.
Card Damage Assessment
Examine the card for physical damage. Look for cracks, chips, or scratches on the gold contacts. Bent cards won’t seat properly in readers. If you see damage, you’ll need a card replacement from your credentialing office.
Testing with Another Card
If possible, test your reader with a colleague’s card (with their permission). If their card works, your card may be damaged. If neither card works, the reader is likely the problem.
Certificates Not Appearing in Keychain
When the card is detected but certificates don’t appear, there’s typically a keychain or certificate configuration issue.
Keychain Access Verification
Open Keychain Access from Applications > Utilities. Look in the left sidebar for a keychain with your card’s name or “PIV.” If you don’t see a separate keychain, the card may not be fully recognized.
Unlocking the Card
Your PIV card requires a PIN to access certificates. In Keychain Access, right-click on your card’s keychain and select “Unlock.” Enter your 6-8 digit PIN when prompted. If the unlock fails, you may have entered the wrong PIN or your card may be locked.
PIN Lockout Recovery
After three incorrect PIN attempts, your card locks. You’ll need your PUK (PIN Unblocking Key) to reset it. In Keychain Access, go to Card Menu > Reset PIN. Enter your PUK followed by your new PIN.
If you’ve also exhausted your PUK attempts, you’ll need to visit your credentialing office for a card reset or replacement.
Certificate Expiration Check
Certificates have expiration dates. In Keychain Access, click on a certificate to see its validity dates. If certificates are expired, you need a new card or certificate renewal depending on your agency’s process.
Authentication Failures
You can see the certificates, but authentication to websites or applications fails. These issues typically involve certificate selection or trust configuration.
Certificate Selection Issues
When prompted for a certificate, ensure you’re selecting the correct one. For website authentication, use your “Authentication” or “PIV Authentication” certificate—not your “Encryption” or “Signing” certificates.
If you’re not being prompted to select a certificate, the website may not be properly requesting client certificates, or your browser settings may be misconfigured.
Trust Chain Problems
Government certificates require specific root and intermediate certificates to validate. If you see “untrusted certificate” errors, your Mac may be missing required certificate chain components.
Check if root certificates are installed in Keychain Access > System > Certificates. Look for DoD or federal PKI root certificates. If missing, obtain them from your IT department—do not download from unofficial sources.
Browser-Specific Issues
Safari uses the system keychain automatically. Chrome and Firefox may require additional configuration.
For Chrome, verify certificate access at Settings > Privacy and Security > Security > Manage Certificates. Your PIV certificates should be visible and trusted.
Firefox uses its own certificate store by default. You may need to enable the security.osclientcerts.autoload setting in about:config, or import certificates manually into Firefox’s certificate manager.
Certificate Trust Settings
In Keychain Access, double-click on a certificate that’s not working. Expand the “Trust” section. For authentication purposes, “When using this certificate” should be set to “Always Trust” or “Use System Defaults.” If set to “Never Trust,” authentication will fail.
Signing and Encryption Problems
Digital signature and email encryption issues require specific certificate configurations.
Email Signing Configuration
For Apple Mail S/MIME signing, go to Mail > Settings > Accounts > [Your Account] > Advanced. Under “Signing Certificate,” select your PIV signing certificate. If no certificates appear, they may not be properly associated with your email address.
Certificate email addresses must match your configured email address exactly. Check the certificate details to see what email address is embedded.
Outlook S/MIME Configuration
In Outlook for Mac, go to Outlook > Settings > Accounts > [Your Account] > Security. Add your signing and encryption certificates. Restart Outlook after configuration.
Document Signing Issues
Adobe Acrobat requires certificate configuration for PDF signing. Go to Preferences > Signatures > Identities & Trusted Certificates > More. Verify your signing certificate is listed and marked as trusted.
Intermittent Connection Problems
Sometimes the card works, sometimes it doesn’t. These sporadic issues are often the most frustrating to troubleshoot.
Loose Connections
Check all physical connections. A slightly loose USB connection can cause intermittent detection failures. Try a different USB port or cable. Consider securing cables to prevent movement.
USB Power Management
macOS power management can affect USB devices. Go to System Settings > Battery (for laptops) and disable “Slightly dim the display on battery.” While this doesn’t directly affect USB, power-saving modes can impact peripheral behavior.
Background Process Conflicts
Some applications may interfere with card access. Try quitting all applications except Finder and testing the card. If it works, reopen applications one at a time to identify conflicts.
Card Wear
Cards have a limited lifespan. Frequent insertion and removal wears the contacts. If your card is more than 2-3 years old and experiencing intermittent issues, consider requesting a replacement.
Mac Login with PIV Card
Using your PIV card to log into macOS requires specific configuration and is often managed by your IT department.
Smart Card Login Configuration
Smart card login is typically enforced through MDM or configuration profiles. Check System Settings > Users & Groups > Login Options to see if smart card login is enabled.
If you’re unable to log in with your card but need to, try using your local account password as a fallback. If smart card login is mandatory and failing, contact IT—they may need to provide a temporary exemption while troubleshooting.
Pairing Issues
Your card may be paired with a specific user account. If the pairing is broken or incorrect, login fails. This typically requires IT intervention to re-pair or clear the pairing.
When to Contact IT Support
Some issues require IT intervention. Contact your help desk for:
- Suspected card damage requiring replacement
- PUK lockouts requiring credentialing office visit
- Missing root or intermediate certificates
- MDM or configuration profile issues
- Persistent issues after trying all troubleshooting steps
- Security concerns (lost/stolen card, suspected compromise)
Preventive Measures
Avoid future issues with these best practices.
Card Care
Store your card in a protective sleeve when not in use. Avoid bending, scratching, or exposing to extreme temperatures. Don’t attach cards to heavy keychains that stress the card.
Reader Maintenance
Keep your card reader clean and protected from dust. Store in a case when traveling. Avoid using damaged USB cables.
Regular Testing
Test your card weekly even if you don’t use it daily. This helps identify issues before they become urgent. Know your PIN—write it down and store securely if needed, but never with your card.
With proper troubleshooting and maintenance, most PIV/CAC issues can be resolved quickly. When in doubt, your IT help desk is your best resource for agency-specific configurations and policies.