06-08-2015, 08:32 AM
(06-08-2015, 06:06 AM)keristinium Wrote:(06-07-2015, 12:47 PM)keristinium Wrote: Has anyone has issues with running the agenct on Ubuntu 14.04 through mono?
I'm getting HTTP error: Error: SendFailure (Error writing headers).
I added my .crt to /usr/local/share/ca-certificates/extra and ran update-ca-certificates.
Running sudo mono hashtopus.exe
Entering the registration voucher and receiving the above error.
I have also tried from a windows machine
Hashtopus 0.9.7
Registering to server...Enter registration voucher: pUstpsDA
HTTP error: The underlying connection was closed: Could not establish trust rela
tionship for the SSL/TLS secure channel.
Registering to server...Enter registration voucher:
Apache logs show the last access from the agent machine as a GET:
192.168.1.136 - - GET /server.php?a=update HTTP/1.1" 200 60960
Solved this. the problem was with my common name (CN) decleration. Re generated my crt using my hostname as CN and all works fine.