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
Re: Core/SSL Having issue with Lets encrypt certificate [message #53579 is a reply to message #53550] Mon, 13 April 2020 16:56 Go to previous message
Xemuth is currently offline  Xemuth
Messages: 387
Registered: August 2018
Location: France
Senior Member
According to https://tls.mbed.org/kb/cryptography/asn1-key-structures-in- der-and-pem

Pem are Base64 encoded, maybe I should do something like that :
socket.SSLCertificate(LoadFile(Base64Decode(GetDataFile("C:\\Users\\Xemuth\\Documents\\ssl\\chain.pem"))),
		      LoadFile(Base64Decode( GetDataFile("C:\\Users\\Xemuth\\Documents\\ssl\\privkey.pem"))),
		      true);


It don't work, I will try to find other way of decoding it

EDIT : I have try to decode my certificate using this website : https://lapo.it/asn1js/ and it work :
This page contains a JavaScript generic ASN.1 parser that can decode any valid ASN.1 DER or BER structure whether Base64-encoded (raw base64, PEM armoring and begin-base64 are recognized) or Hex-encoded.

Do Upp ASN1 parser is able to reconize and decode multiple structure of pem ?

[Updated on: Mon, 13 April 2020 17:28]

Report message to a moderator

 
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: Sat Aug 23 17:27:16 CEST 2025

Total time taken to generate the page: 0.05004 seconds