[Interest] server certificate integration

Samuel Gaist samuel.gaist at idiap.ch
Mon Feb 26 16:20:59 CET 2024


Hi,

Why not pass the path to the certificate as a parameter of your application ?

That way, you can configure it in the startup script of your server and just need to restart/reload it when the time comes to update the certificate.

Another possibility is to use a configuration file in which you point your application to where the certificates are.

Hope it helps

Best regards
Samuel

> On 26 Feb 2024, at 16:11, Alexander Carôt via Interest <interest at qt-project.org> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20240226/38f8f8a5/attachment.sig>


More information about the Interest mailing list