How to create a SSL Validation Check alert - ssl-certificate

In GCP Monitoring I only want to have a SSL validation alert to be setup but, I am not able to do that, Can anyone suggest.

Related

Configuring LDAP Server for fail over scenario

I want to configure LDAP over SSL. I know how to configure it. I am going to use this LDAP server to authenticate user at time of logging in my web site. But In case if any error/exception that may occur due to LDAP over SSL ( like certificate expired, empty certificate store ), I DONT WANT USER WILL BE PREVENTED TO LOGIN JUST BECAUSE OF MERE SSL exception. What I want to do in that case is to use LDAP WITHOUT SSL. Can I configure one LDAP server to run with and without SSL at different port simultenously? Or I must use two different LDAP server (and so machine) and arrange some fail over mechanism that if one fails than automatically request will be serverd by other server (without SSL)?
Please help me regarding how to address this scenario.
Above description might be not detailed but if you want I can describe more.
Thanks in advance.

misconfigured SSL using webhooks

I have created an http server to receive post-hooks from git whenever a push event is issued (for the purpose of auto-deployement).
The problem is that when I add a Web hook to my repository , and when an event is triggered, the request cannot reach the server.
And I get the following error:
We had a problem connecting to the server.
The most common problem with these types of errors is a misconfigured SSL Certificate .
Any ideas?
By default, a GitHub WebHook would perform SSL certificate verification
(and disabling that verification is not a good idea)
Make sure your server has all intermediate CAs in its keystore, and debug your certificate using an SSL checker as mentioned in "Troubleshooting GitHub WebHooks SSL Verification".

Attempting to receiving SMS from Twilio, twilio is getting SSL/TLS handshake error

I have implemented a servlet to receive sms messages from Twilio; when someone replies to my twilio number. I have configured the server in twilio but I am getting ERROR 11220.
The servelet is in a AWS ec2 instance and is accessible via browser, JMeter. SSL Labs gave the servelet URL A+ rating. Not sure how come twilio can't reach it. I'm at a loss. Any tips on anything I can try would be greatly appreciated. Thanks.
TL/DR: Install (or have your server management company install) the full certificate chain that you got when you purchased the cert for your domain.
We ran into a similar issue with Twilio while using their faxing service; it gave the same error on callbacks.
More specifically, their event console (https://www.twilio.com/console/debugger) shows:
11200 - HTTP retrieval failure. In the details section it shows:
ErrorMessage: "Failed to fetch fax media from URL ... (Got status 502 trying to download media)"
Twilio_was_unable_to_fetch_content_from: ...
Error: _Connection_reset_by_peer_over_TLS, _assuming_that_this_is_a_handshake_failure
... SSL_Version:_TLSv1_2 URL_Fragment:_true
Twilio likely uses a Java library which, by default, has a set of certificates independent from the operating system's set of certificates.
All major browsers use their operating system's certificates, which is why you can see that the cert is valid in your browser. Services like SSL Labs that properly handle certs can also validate it.
Twilio could fix this by using their operating system's certificates or by keeping their certs up-to-date. Until such a time...
You have to work around the issue by installing the full certificate chain so that they can validate it. When you purchase a cert for your domain, they generally send the plain cert, as well as a full certificate chain bundle with all of the intermediate certificates. Installing the full chain should fix the issue.

Custom SSL Certificate Upload fails

I own a custom domain. (i.e. domain.com) and have been routing the traffic to my Bluemix (Java Liberty) application just fine for the last year. (By adding the domain to the "Manage Domains" screen on the console.)
I've been trying to upload a SSL Certificate I purchased from Namecheap (RapidSSL) for this domain, to the console, but keep getting this error:
BXNUI0060E: A certificate for the 'domain.com' domain wasn't uploaded because a problem occurred contacting IBM DataPower Gateway.
I use the (.crt) certificate and (.pem) private key with password. I enter both those and the password in the appropriate fields and click 'Upload', but this appears after a minute. Also, I have tried with and without the intermediate (.crt) certificate, but still get the same error.
This error has been consistent for the last month. So I don't think its anything to do with my connection. Is there something I'm doing wrong? Thanks for any and all help!
Two possible causes of this error would be a temporary service outage at Bluemix or a software mismatch due to a Bluemix service upgrade. You can check for outages and upgrade notices on the Bluemix status page. You can also find information about upgrades on the IBM Bluemix blog.

SSL authentication at website

I need to make something like ssl certificate authentication at website. As far as I understand my task I need to get user's ssl certificate and send it to server what will decide can user be authenticated or not.
How can I get user's SSL by javascript and send it to server? Is it possible at all? Or maybe my approach is wrong or I do not understand my task correctly.
Maybe my solution will be useful for somebody. At IIS server configuration we need to check require users certificates checkbox. Than user when opens site will be asked for a certificate form personal certificates storage.
After if public certificate can be accessed from a Request object (c#) at server. From it we can get user's details and allow or deny login