No password for custom certificate
See original GitHub issueHi, I have a scenario where my custom certificate has no password. I am not able to use it, i guess because of the below code.
public bool IsDefined =>
!string.IsNullOrEmpty(X509StoreName) && !string.IsNullOrEmpty(X509StoreLocation) ||
!string.IsNullOrEmpty(X509CertificateFilePath) && !string.IsNullOrEmpty(X509CertificatePassword);
Any suggestion?
Issue Analytics
- State:
- Created 2 years ago
- Comments:8
Top Results From Across the Web
How to use a certificate without the password
Use the certificate to download files WITHOUT the need to know the password. Impossible. The password is used for encrypting the private ...
Read more >Remove key file password - SSL/TLS
You cannot upload a custom certificate with a password-protected key file. The process for removing the password depends on your operating ...
Read more >how to use a client certificate that doesn't have a password
I have a client certificate that is required to access a website I need to run Burp Suite Pro against but the certificate...
Read more >Defining password for custom certificate
Yes, I'm currently using a hardcoded password (the certificate has no password whatsoever, yet it requests one).
Read more >Remove passphrase from certificate key
Nginx does not support password protected certificate keys for SSL. If your keys are already password protected, you can remove them using the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@arihantjain0894 Can you try preview version
1.4.36-ci-15933? (https://github.com/WireMock-Net/WireMock.Net/wiki/MyGet-preview-versions)Hi @arihantjain0894,
Good point.
I think that a simple solution would be to change it to:
But also I need to add some logic to detect empty pwd.
Which means that if you provide an empty string
""as X509CertificatePassword, thisIsDefinedwill returntrue.OR
I could remove the check for X509CertificatePassword here, But also I need to add some logic to detect empty pwd.