Quantcast
Channel: Kaltura - Latest topics
Viewing all articles
Browse latest Browse all 2994

Converting HTTP to HTTPS on 14.14 CENTOS 7

$
0
0

@michael_hall wrote:

Hiya

After successfully getting everything else working as well as test migration data I set up letsencrypt and attempted to move over to HTTPS.

On my first attempt I tried with the shell scripts for updating base, front and nginx. This resulted in me getting a default apache page with a self signed certificate. I tried again with kaltura-config-all.sh but had the same result.

In the end I resolved the self signed issue by deleting apaches default ssl config /etc/httpd/conf.d/ssl.conf, this also stopped the domain from resolving to apaches default index page.

Now however I get “connection refused” in chrome although the certificate is fine.

Curl output:

curl -I -v https://kaltura.xxxxxx.com/api_v3
* About to connect() to kaltura.scarlettentertainment.com port 443 (#0)
*   Trying 35.176.20.56...
* Connection refused
* Failed connect to kaltura.xxxxxx.com:443; Connection refused
* Closing connection 0
curl: (7) Failed connect to kaltura.xxxxxx.com:443; Connection refused

Vhost Dump Output:

[root@ip-172-26-7-33 apache]# httpd -t -DDUMP_VHOSTS
VirtualHost configuration:
35.176.20.56:*         kaltura.xxxxx.com (/etc/httpd/conf.d/zzzkaltura.ssl.conf:22)

Also an error from kaltura-config-all.sh, just after the front config part:

Redirecting to /bin/systemctl restart httpd.service
Note: Forwarding request to 'systemctl enable httpd.service'.
Note: Forwarding request to 'systemctl enable memcached.service'.
Redirecting to /bin/systemctl restart memcached.service
Restarting kaltura-monit (via systemctl):                  [  OK  ]
PHP Fatal error:  Uncaught exception 'KalturaClientException' with message 'Failed connect to kaltura.xxxxxx.com:443; Connection refused' in /opt/kaltura/apps/clientlibs/php5/KalturaClientBase.php:362
Stack trace:
#0 /opt/kaltura/apps/clientlibs/php5/KalturaClient.php(7013): KalturaClientBase->doQueue()
#1 /opt/kaltura/html5/html5lib/playkitSources/kaltura-ovp-player/create_playkit_uiconf.php(17): KalturaSessionService->start('01df9c586326581...', NULL, 2, '0')
#2 {main}
  thrown in /opt/kaltura/apps/clientlibs/php5/KalturaClientBase.php on line 362
Running Sphinx config...

It seems as if the vhosts for ssl are not being enabled properly for some reason.

Any help will be much appreciated.

Thanks

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 2994

Trending Articles