Getting Perforce Connection Error with invalid SSL session - perforce

Getting the following error while trying to create a new perforce connection with helix client for eclipse
Error occurred during SSL handshake: invalid SSL session
I have tried replacing the JCE with the Unlimited JCE Policy as I have found in several articles.

Related

Azure Devops Service Hooks (Webhook) fails with The underlying connection was closed: An unexpected error occurred on a send

I've configured a service hook -> webhook that invokes a remote HTTPS URL with a valid certificate.
When testing the webhook I get this error:
There was an error sending the request, so there was no response.
Error(s):
An error occurred while sending the request.
The underlying connection was closed: An unexpected error occurred on a send.
You may not call this function on a different context than the original request
Invoking the same URL with curl everything is fine.
EDIT: Reading answers with a similar error I thought the problem could be related to the TLS version used by Azure Devops.
My remote service was enabled for TLS 1.3 and 1.2 and failed with <= 1.1.
I configured it to allow TLS 1.0 and 1.1 as well and I keep getting the same error.
I had checked "Accept untrusted SSL certificates". Unchecking it fixed the problem.

Installing biceps with azure cli, getting SSL: CERTIFICATE_VERIFY_FAILED certificate verify failed: unable to get local issuer certificate _ssl.c:1125

Getting the following error:
az_command_data_logger: Error while attempting to retrieve the latest Bicep version: HTTPSConnectionPool(host='api.github.com', port=443): Max retries exceeded with url: /repos/Azure/bicep/releases/latest (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1125)'))).
Tried the following. But not working
1)created REQUESTS_CA_BUNDLE and pointed to .pem file which I generated by downloading from api.github.com [.crt] .
2)https://github.com/Azure/bicep/issues/3147
3)https://github.com/Azure/azure-cli/issues/19420.
I am using latest version of Azure CLI 2.31.0
As suggested by #TrevorBrooks, here are the few workarounds to resolve the above issue
As you are using Corporate proxy :
Azure CLI must pass an authentication payload over the HTTPS request due to the authentication design of Azure Service, which will be blocked at authentication time at your corporate proxy. When you use e.g: az login, you will get a TIMEOUT notification, which is normal.
To configure Azure cli with co-operate proxy :
You can add _HTTPS_PROXY_ environment variable.
To know about what proxy you are using, You can refer this answer.
For example :
set HTTPS_PROXY=http://proxy.name:8080
Simply add the aforementioned variable to your environment variables for a permanent solution.
NOTE: After adding the environment variable ,need to reboot the Terminal .
For more information please refer this Blog .

ssl error when trying to connect to a http server (apache)

I have a https client that is using ssl to connect to an apache server.
When the client try to connect to the apache server via https I got the following error:
SSL Library Error: 336151570 error:14094412:SSL routines:SSL3_READ_BYTES:sslv3 alert bad certificate Subject CN in certificate not server name or identical to CA!?
what could be the problem and how to solve it?
Subject CN in certificate not server name or identical to CA!?
Your certificate does not match the host nameyou access. Check your site against [SSLLabs](
https://www.ssllabs.com/ssltest/analyze.html).

SASL LOGIN authentication failed: authentication failure

LAMP using postfix/dovecot
Getting a ton of these in mail.warn and fail2ban is blocking IP's left and right:
postfix/smtpd[10117]: warning: [domain name here]: SASL LOGIN authentication failed: authentication failure
I'm a little nervous that these might be legitimate connection attempts in postfix/smtpd.
If I'm getting an authentication failure is it safe to assume that it's a break-in attempt or could it be a mis-configuration? Legitimate email is being delivered correctly. Can't tell anything useful from mail.log, is there anywhere else I should look to see if it's malicious?

Node.js SSL client connection with wrong certificate

I am trying to use the TLS module to perform an SSL connection to a server which happens to provide a wrong certificate (the hostname of server (xxx.example.com) does not match the common name of the certificate (yyy.example.com)).
I managed to get the client connecting without throwing an error by adding the option rejectUnauthorized: false.
However when the client is connected it is still unauthorized and the authorizationError is Hostname/IP doesn't match certificate's altnames.
How can I get around this? I obviously have no power on changing the server certificate (I did however contact them to try to get them amend the certificate).

Resources