Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to provide my own certificate for XMLHttpRequest?
Forum Updated to NodeBB v4.3 + New Features

How to provide my own certificate for XMLHttpRequest?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 2 Posters 366 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    BartekBl
    wrote on last edited by
    #1

    I'm writing client and server where both are under my control. I want to secure communication between them with self-signed certificate. I'm using QML and XMLHttpRequest. Is there a way to do it?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      You can try to add your certificate to the default QSslConfiguration.

      Hope it helps

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      B 1 Reply Last reply
      1
      • SGaistS SGaist

        Hi,

        You can try to add your certificate to the default QSslConfiguration.

        Hope it helps

        B Offline
        B Offline
        BartekBl
        wrote on last edited by
        #3

        @SGaist
        Sorry, I'm so used to getting notifications when somebody answers that I missed your post. Many thanks for suggestion. I need to try it out as soon as possible.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved