Re: [Interest] server certificate integration

2024-02-26 Thread Alexander Carôt via Interest
5719797 > Gesendet: Montag, 26. Februar 2024 um 16:20 Uhr > Von: "Samuel Gaist" > An: "Alexander Carôt" > Cc: "qt qt" > Betreff: Re: [Interest] server certificate integration > > Hi, > > Why not pass the path to the certificate as

Re: [Interest] server certificate integration

2024-02-26 Thread Samuel Gaist via Interest
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

Re: [Interest] server certificate integration

2024-02-26 Thread a...@golks.de
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

[Interest] server certificate integration

2024-02-26 Thread Alexander Carôt via Interest
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