wahern / luaossl

Most comprehensive OpenSSL module in the Lua universe.
http://25thandclement.com/~william/projects/luaossl.html
Other
140 stars 49 forks source link

There should be a higher level way to use a full certificate chain #193

Open Mehgugs opened 3 years ago

Mehgugs commented 3 years ago

Luaossl should provide a method to take a string of a full chain of certs and take the first one and use it, and then bundle the rest into a chain and set that as the chain. Mirroring the functionality SSL_CTX_use_certificate_chain_file or exposing that function as a context object method.