Unable to Bring up code-server with https - https

I am trying to bring the code server with https and where it is giving root certificate error
Tried following the steps provided in this document and still it did not help in fixing the issue :
https://coder.com/docs/code-server/latest/guide
C:\Users\zsadas> curl ivk https://0.0.0.0:12345
curl: (6) Could not resolve host: ivk
curl: (60) schannel: SEC_E_UNTRUSTED_ROOT (0x80090325) - The certificate chain was issued by an authority that is not trusted.
More details here: https://curl.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
Can some one please guide me with the steps , so get rid of this issue . Website is loading with error

Related

Requests to ElasticSearch server return always a SSL certification error

I've tried applying some of the following SO answers to an ES server:
Link 1
Link 2
However, I always get a SSL certificate authentication error.
curl: (60) SSL certificate problem: self-signed certificate in certificate chain
More details here: https://curl.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
Is there a workaround for this?
If you are using ElasticSearch for local purpose and do not worry about security issues, you could disable security settings as it described here.
For example, for Linux you could change every configuration with "security" word from true to false in the elasticsearch configuration file: elasticsearch-8.2.0/config/elasticsearch.yml
Hope this helps!

Self-Signed Certificate Issue in Windows 7 - Alternative Solution/Hint

I wanted to write out this question here for anyone looking to resolve issues related to SSL certificate. I know that there are a lot of solutions out there (setting any form of sslVerify = false IS NOT the solution people!) for both Windows and Linux-based machines, but none of them works out for me at my company. This has been an on and off issue for the past year, so I'm hoping this might help out someone else.
If you've seen anything similar to the following errors, this might be a good stepping point to a solution:
curl (60) SSL certificate problem: unable to get local issuer certificate
PHP Warning: no valid certs found cafile stream
Composer: The [repo] file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
Then check out Matt Ferderer's post (https://mattferderer.com/fix-git-self-signed-certificate-in-certificate-chain-on-windows) and pay specific attention to the certificate path (image).
For me, there were a good number of posts about how a company's firewall might cause an issue. But the idea that a company's IT department may have other applications that intercept the request you're sending out is something to consider. It was Matt's specific post that was the turning point in my hunt for a solution. I hope it might help you out.
Specifically for me, after viewing the certificate path (described in Matt's post), I noticed that my company's cloud security application was, for some reason, altering the certificates, causing the SSL verification error. The IT department was able to update the settings of the application, and then immediately all of the errors stopped.

xcode - Bot creation failed with error: An SSL error has occurred and a secure connection to the server cannot be made

I am trying to create a bot on my server running 10.9, and I keep getting the following error:
Bot creation failed with error: An SSL error has occurred and a secure
connection to the server cannot be made.
I just updated my SSL cert from the self signed to one from GoDaddy. My https://servername connects fine with a green https.
How do I get it to recognize my certificate?
I never was able to find a solution. I ended up doing a clean install, add my GoDaddy SSL certificates again, and the problem was resolved.

TIBCO - Server Certificate Rejected by Chain Verifier

We are getting this error
"BW-HTTP-100300 Job-29000 Error in [Processes/Services/HTTP Request/Process Definition.process/Send HTTP Request]
An IOException was thrown while trying to execute the Http method
caused by: java.io.IOException: Failed to create secure client socket: Server certificate rejected by ChainVerifier"
I have done the following:
1. Created send http request.
2. Configured everything in the Configuration tab and the Input tabs. 
3. Created Identity and imported the same into Identity
4. Downloaded the certificate and imported it in to 'Configure SSL'
5. While running the process I get the error mentioned above. 
Am I missing anything?  
Please provide me some guidance.  Thanks in advance
Downloading the server certificate is not enough, you need to download the whole certificate chain from the root CA down to the server cert.
In the above example, you need to download all certs (except the last one mail.google.com which is optional) and add them to your trusted certificates folder.
Have you enabled VerifyHostName option while making the connection? If yes, then the server name should be in the allowed list too. In most cases you dont need this option enabled.

Using Sparkle Updater with download hosted on GitHub

I'm hosting my downloads on GitHub, to save bandwidth on my own server, but when Sparkle updater tries to download updates from GitHub, it fails with error:
Sparkle Error (continued): The operation couldn’t be completed. (NSURLErrorDomain error -1100.)
I figured out that this is due to a certificate mismatch from GitHub, as you can see from this attempt to use wget to download my app from GitHub:
$ wget http://github.com/downloads/chetan51/sidestep/Sidestep%20v0.2.1.zip
--2010-11-21 16:29:26-- http://github.com/downloads/chetan51/sidestep/Sidestep%20v0.2.1.zip
Resolving github.com... 207.97.227.239
Connecting to github.com|207.97.227.239|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://github.com/downloads/chetan51/sidestep/Sidestep%20v0.2.1.zip [following]
--2010-11-21 16:29:27-- https://github.com/downloads/chetan51/sidestep/Sidestep%20v0.2.1.zip
Connecting to github.com|207.97.227.239|:443... connected.
ERROR: certificate common name `*.github.com' doesn't match requested host name `github.com'.
To connect to github.com insecurely, use `--no-check-certificate'.
Unable to establish SSL connection.
Are there any workarounds for this problem?
I suspect you’re not actually getting as far as the certificate error. I had a similar error this weekend, and found that Sparkle (incorrectly) performs %-escaping on attachment URLs. If you change the %20 to a plain space, you’ll probably get a different error indicating the problem you thought you were having.
Not really very helpful, I know.

Resources