-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Facing issues while connectiong with SSL Certificate #62
Comments
This is the error message given when the Windows SChannel code cannot find the certificate. What name did you use with '-clientcert'? wc3270 is looking for the Friendly Name of the cert, which I just verified still works properly. |
Hi @pmattes please refer below steps I have tried. |
My best guess is that Windows is able to find your certificate, but is not happy with it. The expiration date 543 years in the future looks a little fishy -- is this an actual certificate issued by the administrators of the host you are trying to connect to, or something you created yourself? I know that TLS-related options can be fiendishly tricky to get right. Unfortunately this is an intrinsic property of the TLS protocol itself. Could you explain a bit more about what it is you are trying to do with TLS? |
I think you might have imported the certificate into the wrong certificate store. Your certificate is in Certificates - Local Computer. However, it should be in Certificates - Current User. I just verified that I got the above error message when the certificate was in the store for the local computer, but not when it was in the store for the current user. |
@robinmatz, I missed this -- excellent catch! I have updated the Wiki to make this explicit. @FWDQK, yes, it appears that Windows has found your certificate now, but does not like its contents. |
@FWDQK To verify, could you please post a screenshot for every step you take when importing the certificate into your personal store? |
@robinmatz I followed below steps to import the certificate. |
@FWDQK For clarification: Does it start with or
or does it contain multiple such sections? |
@robinmatz I have .cer file which looks like this. |
@FWDQK Could you ask your server admin to issue a new certificate with valid starting date (and also a more reasonable ending date)? |
@robinmatz the validity is not actually 500 years in the future, it is an 2023 by gregorian calendar and 2566 by Thai Calendar. |
Hi Team,
I am getting below error while connecting AS400 Server with SSL certificate.
I used -clientcert argument and pass Name of certificate from Personal Certificare Store.
Could you please help me to solve the error.
The text was updated successfully, but these errors were encountered: