[Interest] server certificate integration

Alexander Carôt alexander_carot at gmx.net
Mon Feb 26 16:29:43 CET 2024


Hi Samuel and Alex,

thanks a lot – this already helps ! I just saw that in the basic example the files are being integrated as resources and of course I could theoretically point to the certificate files directly.

Best

Alex 


--
http://www.carot.de
Email : Alexander at Carot.de
Tel.: +49 (0)177 5719797


> Gesendet: Montag, 26. Februar 2024 um 16:20 Uhr
> Von: "Samuel Gaist" <samuel.gaist at idiap.ch>
> An: "Alexander Carôt" <alexander_carot at gmx.net>
> Cc: "qt qt" <interest at qt-project.org>
> Betreff: Re: [Interest] server certificate integration
>
> 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
> 
>


More information about the Interest mailing list