[Boost-users] Using domain-based SSL certificate with Boost.Beast

Skip to first unread message

Osman Zakir via Boost-users

Mar 5, 2019, 4:45:42 PM3/5/19
to boost...@lists.boost.org, Osman Zakir
I looked at this example server certificate in the Boost.Beast repository: https://github.com/boostorg/beast/blob/develop/example/common/server_certificate.hpp .  I have a free SSL certificate that I got for my Dynamic DNS subdomain name which doesn't have DH parameters but does have a certificate chain and a private key.  I don't know what to put for ctx.set_options or ctx.set_password_callback.  I tried asking at Let's Encrypt as well: https://community.letsencrypt.org/t/how-to-secure-dynamic-dns/87816/19 .  I decided to ask here because they said they can't advise me on how to do it with Boost.  I don't want to try a reverse proxy.  

Application for Computer Science course. Contribute to DragonOsman/currency_converter development by creating an account on GitHub.

The acme.sh certs are generally in a domain folder where the acme.sh script lives (something like ~/.acme.sh/example.com). You don’t likely need to generate a new one.

HTTP and WebSocket built on Boost.Asio in C++11. Contribute to boostorg/beast development by creating an account on GitHub.

Reply all
Reply to author
0 new messages