Power2All / torrust-actix

A multi-functional lightweight BitTorrent Tracker
MIT License
86 stars 5 forks source link

Error SSL #35

Open ElManKO92 opened 4 days ago

ElManKO92 commented 4 days ago

When i tried connect the api to php with cURL i have this response "SSL Certificate problem: unable to get local issuer", and in the browser all work fine, the response is like the example of the project page.

Power2All commented 3 days ago

Did you enable SSL setting ? If not, then it's just HTTP without SSL. Also, if it's self-signed, you need to ignore checking validity of the SSL certificate.

Currently I am rewriting the whole tracker, using C++ way of coding, also implementing more accurate statistics and handling, and merge the peers and torrent btreemaps in a single shared variable. You'll probably see activity on the v3.2.2 branch about it.

The rewrite is going to be released as a v4.0.0 release, and I am working out a way to implement WebTorrent support as well.

For that time, you can still use the tracker as expected, but big changes will come :)

ElManKO92 commented 3 days ago

I did it, in fact I had to convert my key file with the help of openssl so that torrust-actix recognized it and did not give me an error when I executed it, as I told you in the browser it does not give an error and the lock appears correctly, when I try to connecting the API to php using cURL is when it gives that error