[Interest] server certificate integration

alex at golks.de alex at golks.de
Mon Feb 26 16:17:30 CET 2024


hi,

why not simply read certificate related stuff from file/env and add
proper configuration using

     https://doc.qt.io/qt-6/qsslconfiguration.html

and when expiration is about to happen, reload the whole and configure
again?

regards,
alex

On 26.02.2024 16:11, Alexander Carôt via Interest wrote:
> Hi all,
>
> I have a secure websocket server based on the Qt example:
>
> https://doc.qt.io/qt-6/qtwebsockets-sslechoserver-example.html
>
> It requires a certificate and a key which are compiled into the server and it functions well.
>
> However, whenever the certificate expires (such as Let’s encrypt after 90 days) I need to recompile the server with the renewed certificate.
>
> In order to avoid this process I wonder if it is possible to somehow externally point to the the new certificates without integration at compilation time.
>
> Thanks for any hint,
> best
>
> Alex
>
> --
> http://www.carot.de
> Email : Alexander at Carot.de
> Tel.: +49 (0)177 5719797
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest


More information about the Interest mailing list