Installation
From VS Code Marketplace (Recommended)
- Open VS Code
- Go to the Extensions view by pressing
Cmd+Shift+X(macOS) orCtrl+Shift+X(Windows/Linux) - Search for "SSLens"
- Click the Install button
- Reload VS Code if prompted
Pro Tip
You can also install directly by opening the Quick Open dialog (Cmd+P) and
typing ext install sitharaj.sslens
From VSIX File
If you have a VSIX package file, you can install it directly:
code --install-extension sslens-1.0.1.vsix
Or install via VS Code:
- Open VS Code
- Go to Extensions view (
Cmd+Shift+X) - Click the ⋯ menu at the top of the Extensions panel
- Select "Install from VSIX..."
- Select your VSIX file
Requirements
| Requirement | Minimum Version |
|---|---|
| VS Code | 1.85.0 or higher |
| Operating System | Windows, macOS, or Linux |
| Network | Internet connection (for fetching remote certificates) |
No Dependencies
SSLens has no external dependencies. It uses Node.js TLS APIs bundled with VS Code.
Quick Start
After installation, you can start using SSLens immediately. Here's the fastest way to inspect a certificate:
- Open the Command Palette with
Cmd+Shift+P(macOS) orCtrl+Shift+P(Windows/Linux) - Type "SSLens: Fetch Certificate from URL" and press Enter
- Enter a domain name (e.g.,
github.comorapi.stripe.com:443) - View the certificate details in the panel that appears
github.com
api.github.com
google.com
stripe.com:443
example.com:8443
Your First Certificate
Let's walk through fetching and inspecting your first certificate:
Step 1: Fetch a Certificate
- Press
Cmd+Shift+Pto open the Command Palette - Type
SSLens: Fetchand select "SSLens: Fetch Certificate from URL" - Enter
github.comand press Enter
Step 2: Explore the Certificate Panel
The certificate panel shows comprehensive information:
- Certificate Info - Subject, issuer, serial number
- Validity - Valid from/to dates and expiry status
- Fingerprints - SHA-256, SHA-1 hashes
- Certificate Chain - Complete chain of trust
- Public Key Info - Algorithm, key size, and public key hash
Step 3: Generate Pinning Code
If you're developing a mobile app, you can generate SSL pinning code:
- In the certificate panel, click "Generate Pinning Code"
- Select your platform (Android, iOS, Flutter, React Native)
- Copy the generated code into your project
Step 4: Save the Domain
Save frequently accessed domains for quick access:
- Run "SSLens: Save Domain to Favorites" from the Command Palette
- Or click the ⭐ icon in the SSLens sidebar
Using the Sidebar
SSLens adds a dedicated view in the VS Code Activity Bar:
- Click the 🛡️ shield icon in the Activity Bar (left side of VS Code)
- You'll see two sections:
- Saved Domains - Your favorite domains for quick access
- Recent Certificates - Recently fetched certificates
Sidebar Actions
- Click a domain - Fetch and display its certificate
- Right-click a domain - Access context menu (remove, edit alias, etc.)
- Click the + icon - Add a new domain to favorites
- Click the refresh icon - Refresh all saved domains
Next Steps
Now that you have SSLens installed and working, explore these topics: