This guide explains how BB manages certificate trust stores across different platforms.
A trust store is a system-level database of trusted certificate authorities (CAs). When BB creates its local CA, it needs to add it to your system's trust store so your browser will trust the certificates BB creates.
- Location:
/Library/Keychains/System.keychain - Managed by: Keychain Access
- View certificates:
- Open Applications > Utilities > Keychain Access
- Select "System" keychain
- Click "Certificates" category
- Look for "Beyond Better CA"
- Location:
Cert:\LocalMachine\Root - Managed by: Certificate Manager (certmgr.msc)
- View certificates:
- Press Windows+R
- Type
certmgr.mscand press Enter - Expand "Trusted Root Certification Authorities"
- Click "Certificates"
- Look for "Beyond Better CA"
- Debian/Ubuntu:
- Location:
/usr/local/share/ca-certificates - Update command:
sudo update-ca-certificates
- Location:
- RHEL/CentOS/Fedora:
- Location:
/etc/pki/ca-trust/source/anchors - Update command:
sudo update-ca-trust
- Location:
BB automatically manages the trust store:
- Creates a local CA during initialization
- Adds CA to system trust store
- Updates trust store when needed
- Handles platform-specific requirements
To verify trust store status:
bb secure statusThis shows:
- Trust store location
- CA certificate status
- Trust level
- Last update time
-
Permission Denied
- Run BB commands with admin privileges
- Check file permissions
- Verify user has trust store access
-
Certificate Not Trusted
- Check trust store status
- Re-enable TLS:
bb secure on - Verify CA in trust store manually
-
Trust Store Updates Failed
- Check system logs
- Verify admin access
- Try manual trust store update
-
Trust Store Access
- BB needs admin access to modify trust store
- Password prompt is normal and secure
- Changes are logged for security
-
CA Certificate
- Stored securely in BB config directory
- Used only for local development
- Regenerated if compromised
-
Best Practices
- Keep trust store clean
- Monitor certificate expiry
- Back up certificates
- Use
bb secure statusregularly
Important trust store files to back up:
- CA certificate (rootCA.pem)
- CA private key (rootCA-key.pem)
- Trust store configuration
BB certificates can have different trust levels:
- SSL/TLS (default)
- Code signing
- Email protection
Configure in BB settings if needed.