Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Setting up an Agent with HTTPS and Self-Signed Certificate
I'd like to run hashtopolis using HTTPS and got everything setup on the server side. How would I resolve the self-signed certificate error on the agent side?

Starting client 's3-python-0.4.0'...
Please enter the url to the API of your Hashtopolis installation:
Error occurred: HTTPSConnectionPool(host='', port=443): Max retrie                                                                    s exceeded with url: /api/server.php (Caused by SSLError(SSLCertVerificationErro                                                                    r(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed ce                                                                    rtificate (_ssl.c:1056)')))
Connection test failed!
From the Discord Hashtopolis Channel by hops:

There's currently no built-in option to do that. Adding the self-signed certificate to your OS's CA store might help.
If not you can try to add the following line after this one:
session.verify = '/path/client.cert'
I was able to add a new agent with HTTPS & self signed cert by adding the following line after this one:
session.verify = False

You'll receive a InsecureRequestWarning, but you'll be able to enter the voucher after that.

Forum Jump:

Users browsing this thread: 1 Guest(s)