Important: Please read the Qt Code of Conduct -

[Solved]How to retrieve web service through ssl http post with public key only?

  • Hi,

    I found in QSslConfiguration, there are only set private key and certificate.

    Is it possible to use only public key to do https post?

    Thank you,


  • Hi,

    A public key is send by the server to the client on handshaking, so there is no need to set a pub key.

    unless you are doing something special..?

    Can you go more in detail ?

  • Thank you.

    I finally understand how it works.

    Just like web browser does not have key but can browse https page, there is no need to set any thing like private key to post https site with public key.

    I forget to mark as solved, sorry, and thank you.


Log in to reply