-
-
Notifications
You must be signed in to change notification settings - Fork 28
Description
Did you search for existing issues already?
Yes, I am following up on the discussion started in issue #702.
Is your feature request related to a problem? Please describe.
I am currently unable to perform requests to services that require Mutual TLS (mTLS) authentication. In many enterprise environments and third-party integrations, the server requires the client to provide a certificate to verify its identity. Without support for client-side certificates, Slumber cannot be used for testing secure APIs that mandate mutual validation.
Describe the solution you'd like
I would like Slumber to support mTLS configuration. A key improvement would be supporting both separate files and bundled formats:
-
Initial support: Ability to specify a Client Certificate (.crt/.pem) and a Private Key (.key).
-
Enhanced support (PFX): Ability to use a single PFX/PKCS12 file, which is a standard for bundling certificates and private keys in enterprise environments.
-
Passphrase handling: A way to securely provide a passphrase for PFX files or encrypted private keys (preferably via environment variables or a prompt).
Describe alternatives you've considered
-
Using
curlwith--cert,--key, or--cert-type P12. -
Using a local proxy to handle the handshake, which is inconvenient for a TUI-based workflow.
Additional context
The implementation could follow the logic used by Postman for certificate management: Postman mTLS Documentation.
As discussed in this comment, adding this would bridge a major gap for developers working with banking, government, or high-security third-party APIs.