KVM VPS w/ GOautodial v4 + SSL installed?
Added by Marcio Mello over 6 years ago
Hello,
Someone there got v4.0 in a KVM VPS with a SSL certificate installed ok?
I´m testing it on Digital Ocean, Ramnode and Virtono, all are KVM virtualization and install v4 from ISO very easy.
After installed and manual IP configuration done (https://goautodial.org/boards/20/topics/14214) all features work fine.
I can login like an agent, Login to Dialer and hear "you are the only person in this conference.." . So, WebRTC is working fine.
If I install a SSL certificate, Let´s Encrypt or a purchased Comodo CA, I can still login like an agent, buy cannot Login to Dialer ... it remains "Loggin to your phone.. Please wait" forever.
Even after certificate installed, if I access using the IP address, it works fine and I can login to dialer. Might be a problem with SSL install.
Checked all possible,, kamailio debug, ssl logs, and I can´t find the problem... but it might happen to everyone who try a install like mine..
If someone there got this problem, please give me a tip.
Thanks!
Replies (8)
RE: KVM VPS w/ GOautodial v4 + SSL installed?
-
Added by Levy Ryan Nolasco over 6 years ago
Hi,
What are the output of these logs /var/log/httpd/ssl_error_log and /var/log/httpd/error_log
RE: KVM VPS w/ GOautodial v4 + SSL installed?
-
Added by Marcio Mello over 6 years ago
Hi,
/var/log/httpd/ssl_error_log
[Thu Dec 06 16:03:38.298936 2018] [ssl:warn] [pid 881] AH01909: RSA certificate configured for vaglxc01.goautodial.com:443 does NOT include an ID which matches the server name
[Thu Dec 06 16:03:38.498378 2018] [ssl:warn] [pid 881] AH01909: RSA certificate configured for vaglxc01.goautodial.com:443 does NOT include an ID which matches the server name
[Thu Dec 06 16:14:40.301301 2018] [ssl:warn] [pid 875] AH01909: RSA certificate configured for vaglxc01.goautodial.com:443 does NOT include an ID which matches the server name
[Thu Dec 06 16:14:40.455199 2018] [ssl:warn] [pid 875] AH01909: RSA certificate configured for vaglxc01.goautodial.com:443 does NOT include an ID which matches the server name
[Thu Dec 06 16:28:29.181437 2018] [ssl:warn] [pid 28899] AH01909: RSA certificate configured for vaglxc01.goautodial.com:443 does NOT include an ID which matches the server name
[Thu Dec 06 16:28:29.249027 2018] [ssl:warn] [pid 28899] AH01909: RSA certificate configured for vaglxc01.goautodial.com:443 does NOT include an ID which matches the server name
[Thu Dec 06 16:43:16.001100 2018] [ssl:warn] [pid 3157] AH01909: RSA certificate configured for vaglxc01.goautodial.com:443 does NOT include an ID which matches the server name
[Thu Dec 06 16:43:16.201780 2018] [ssl:warn] [pid 3157] AH01909: RSA certificate configured for vaglxc01.goautodial.com:443 does NOT include an ID which matches the server name
[Fri Dec 07 14:31:38.173187 2018] [proxy_fcgi:error] [pid 29278] [client 138.186.86.81:61761] AH01071: Got error 'Primary script unknown\n', referer: https://168.235.102.241/agent.php
[Fri Dec 07 14:31:51.539207 2018] [proxy_fcgi:error] [pid 3453] [client 138.186.86.81:61775] AH01071: Got error 'Primary script unknown\n', referer: https://168.235.102.241/agent.php
[Fri Dec 07 14:31:53.537028 2018] [proxy_fcgi:error] [pid 3453] [client 138.186.86.81:61775] AH01071: Got error 'Primary script unknown\n', referer: https://168.235.102.241/agent.php
[Fri Dec 07 14:31:59.986713 2018] [proxy_fcgi:error] [pid 29278] [client 138.186.86.81:61784] AH01071: Got error 'Primary script unknown\n', referer: https://168.235.102.241/agent.php
[Fri Dec 07 14:50:08.757129 2018] [ssl:warn] [pid 3157] AH01909: RSA certificate configured for vaglxc01.goautodial.com:443 does NOT include an ID which matches the server name
[Fri Dec 07 14:50:15.227152 2018] [ssl:warn] [pid 3157] AH01909: RSA certificate configured for vaglxc01.goautodial.com:443 does NOT include an ID which matches the server name
[Fri Dec 07 14:50:18.674921 2018] [ssl:warn] [pid 3157] AH01909: RSA certificate configured for vaglxc01.goautodial.com:443 does NOT include an ID which matches the server name
[Fri Dec 07 14:54:27.799555 2018] [ssl:warn] [pid 3152] AH01909: RSA certificate configured for vaglxc01.goautodial.com:443 does NOT include an ID which matches the server name
[Fri Dec 07 14:54:27.939177 2018] [ssl:warn] [pid 3152] AH01909: RSA certificate configured for vaglxc01.goautodial.com:443 does NOT include an ID which matches the server name
[Fri Dec 07 15:06:16.379688 2018] [ssl:warn] [pid 3145] AH01909: RSA certificate configured for vaglxc01.goautodial.com:443 does NOT include an ID which matches the server name
[Fri Dec 07 15:06:16.605868 2018] [ssl:warn] [pid 3145] AH01909: RSA certificate configured for vaglxc01.goautodial.com:443 does NOT include an ID which matches the server name
[Fri Dec 07 15:34:27.022850 2018] [ssl:warn] [pid 3143] AH01909: RSA certificate configured for vaglxc01.goautodial.com:443 does NOT include an ID which matches the server name
[Fri Dec 07 15:34:27.159860 2018] [ssl:warn] [pid 3143] AH01909: RSA certificate configured for vaglxc01.goautodial.com:443 does NOT include an ID which matches the server name
[Fri Dec 07 15:47:21.991714 2018] [ssl:warn] [pid 3157] AH01909: RSA certificate configured for vaglxc01.goautodial.com:443 does NOT include an ID which matches the server name
[Fri Dec 07 15:47:22.122287 2018] [ssl:warn] [pid 3157] AH01909: RSA certificate configured for vaglxc01.goautodial.com:443 does NOT include an ID which matches the server name
/var/log/httpd/error_log in attach.
Thank you for your attention.
Rgds,
error_log-20181209.txt (91.7 KB) error_log-20181209.txt |
RE: KVM VPS w/ GOautodial v4 + SSL installed?
-
Added by Jackie Alfonso over 6 years ago
Marcio Mello wrote:
Hello,
Someone there got v4.0 in a KVM VPS with a SSL certificate installed ok?
I´m testing it on Digital Ocean, Ramnode and Virtono, all are KVM virtualization and install v4 from ISO very easy.
After installed and manual IP configuration done (https://goautodial.org/boards/20/topics/14214) all features work fine.I can login like an agent, Login to Dialer and hear "you are the only person in this conference.." . So, WebRTC is working fine.
If I install a SSL certificate, Let´s Encrypt or a purchased Comodo CA, I can still login like an agent, buy cannot Login to Dialer ... it remains "Loggin to your phone.. Please wait" forever.
Even after certificate installed, if I access using the IP address, it works fine and I can login to dialer. Might be a problem with SSL install.
Checked all possible,, kamailio debug, ssl logs, and I can´t find the problem... but it might happen to everyone who try a install like mine..
If someone there got this problem, please give me a tip.
Thanks!
Hi,
Can you please provide a screenshot of your GOWebRTC Dialer Settings? sip-goautodial.conf and kamailio.cfg? so we can look more further into your issue.
RE: KVM VPS w/ GOautodial v4 + SSL installed?
-
Added by Marcio Mello over 6 years ago
Hello,
Please check files. Thanks!
webrtc-config.jpg (129 KB) webrtc-config.jpg | |||
sip-goautodial.conf (245 Bytes) sip-goautodial.conf | |||
kamailio.txt (34.9 KB) kamailio.txt |
RE: KVM VPS w/ GOautodial v4 + SSL installed?
-
Added by Wittie Manansala over 6 years ago
Hi,
Lets say this your dialer link https://ram1.callcenterflex.com.br/
Please try the following:
1 For webrtc-config.jpg
WebRTC Websocket Host/IP = ram1.callcenterflex.com.br
WebRTC SIP Host/IP = ram1.callcenterflex.com.br
Kamailio Domain = ram1.callcenterflex.com.br
2. For sip-goautodial.conf
FROM:
host=vaglxc01.goautodial.com ;change me to my FQDN
TO:
host=ram1.callcenterflex.com.br
3. For kamailio.txt or /etc/kamailio/kamailio.cfg
FROM:
/* add local domain aliases */
alias="168.235.102.241"
alias="ram1.callcenterflex.com.br"
TO:
/* add local domain aliases */
alias="ram1.callcenterflex.com.br"
alias="callcenterflex.com.br"
4. run:
service restart kamailio
Thanks
RE: KVM VPS w/ GOautodial v4 + SSL installed?
-
Added by Demian Biscocho over 6 years ago
You need to edit "/var/www/html/php/goCRMAPISettings.php" to reflect the domain name associated to your SSL/TLS certificate.
Default is:
<?php define ('gourl', 'https://vaglxc01.goautodial.com/goAPIv2'); define ('goUser', 'goAPI'); define ('responsetype', 'json'); ?> </preReplace vaglaxc01.goautodial.com with your domain name.
RE: KVM VPS w/ GOautodial v4 + SSL installed?
-
Added by Marcio Mello over 6 years ago
Hi,
Thanks for all help.
Testing the tip from Witie Manansala, I got a server working perfect with:
WebRTC Websocket Host/IP = ram1.callcenterflex.com.br
The other 2 config need the IP address.
But I can´t reproduce this perfect server. Created another server, with the same files and Kamailio fails to start with problems to read the privkey.pem file (already give permissions).
I´m still checking what is the problem..
Thanks!
RE: KVM VPS w/ GOautodial v4 + SSL installed?
-
Added by Marcio Mello over 6 years ago
Yes, the goCRMAPISettings.php file has already the right domain.
Rgds.