Page 1 of 1

problem

Posted: Thu Feb 09, 2017 5:00 pm
by valy
I tried that:

Code: Select all

curl https://MyIp:8083/api/?&user=admin&password=MyPass&cmd=v-add-domain&arg1=demo&arg2=d3m0p4ssw0rd&[email protected]
[1] 6685
[2] 6686
[3] 6687
[4] 6688
[5] 6689
[6] 6690

root@s2:~# curl: (60) SSL certificate problem: self signed certificate
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.

[1]   Exit 60                 curl https://MyIp:8083/api/?
[2]   Done                    user=admin
[3]   Done                    password=MyPass
[4]   Done                    cmd=v-add-domain
[5]-  Done                    arg1=demo
[6]+  Done                    arg2=d3m0p4ssw0rd
Dose't work. Why?

Re: problem

Posted: Thu Feb 09, 2017 5:13 pm
by JuzaoftheClouds
valy wrote:I tried that:
CUT
Dose't work. Why?
Hi
do you have read the error message? you can find this:

Code: Select all

If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.
so retry with
$ curl -k https://MyIp:8083/api/?&user=admin&pass ... estacp.com


Issue explain:
curl tries to load ssl certificate (because of https protocol), but it is a self signed certificate, so the CA is not valid.
So it warn you about the possible security issue.

Re: problem

Posted: Thu Feb 09, 2017 6:03 pm
by valy
I try to connect VestaCP to boxbilling and thehostingtool, But it does not work

Re: problem

Posted: Thu Feb 09, 2017 6:22 pm
by JuzaoftheClouds
valy wrote:I try to connect VestaCP to boxbilling and thehostingtool, But it does not work
I don't know tht, and never used boxbilling, but if you don't explain the problems you've found, anyone here can help you.
Start posting:
  • * error logs
    * warning and error messages
    * describing your environment, configs and steps you made

Re: problem

Posted: Thu Feb 09, 2017 6:34 pm
by valy
For Boxbilling when I want to activate user order he say: "Only pending setup or failed orders can be activated"
and nothing changes in vestacp

Re: problem

Posted: Thu Feb 09, 2017 6:43 pm
by valy
I solved.
Thanks for the help
Name and surname was missing from username client