Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Core/SSL Having issue with Lets encrypt certificate
Core/SSL Having issue with Lets encrypt certificate [message #53550] Fri, 10 April 2020 23:40 Go to previous message
Xemuth is currently offline  Xemuth
Messages: 387
Registered: August 2018
Location: France
Senior Member
Hello,

I have a fresh and valide certificate from LetsEncrypt with is private key, to test Upp compatibility, I have launch the package References : Https
...
	for(;;) {
		TcpSocket socket;
		LOG("===================================================== Waiting...");
		if(socket.Accept(server)) {
			LOG("Connection accepted");
			socket.SSLCertificate(LoadFile(GetDataFile("C:\\Users\\Xemuth\\Documents\\ssl\\cert.pem")),
			                       LoadFile(GetDataFile("C:\\Users\\Xemuth\\Documents\\ssl\\privkey.pem")),
			                       false);
			if(!socket.StartSSL()) {
				LOG("Failed to start SSL: " << socket.GetErrorDesc());
				continue;
			}
			while(socket.SSLHandshake());
			if(socket.IsError()) {
				LOG("SSL handshake failed: " << socket.GetErrorDesc());
				continue;
			}
			LOG("SSL established");
...

https://i.imgur.com/7NGXUkh.png
Any one have an idea ?


Thanks in advance.
Best regards
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: lzma compression does not seem to work
Next Topic: [Proposal] Blur algorithm (fast box blur with gaussian approximation)
Goto Forum:
  


Current Time: Tue Feb 18 19:43:29 CET 2025

Total time taken to generate the page: 0.02734 seconds