Hello everyone,
I try to deploy CSWEB on Centos linux 8. The installation end properly, i means without any error.
But when I try to access CSWEB using HTTPS I can't login but when I use HTTP it works.
Here the error I am facing :
Error code: 500. Message: cURL error 60: SSL certificate problem: unable to get issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)
Could somebody help me.
Thanks
CSWEB ON CENTOS LINUX 8
Re: CSWEB ON CENTOS LINUX 8
The issue you are seeing is not a CSWeb issue. There is a problem with your Apache/PHP configuration with SSL. Please contact your systems administrator to resolve this. The link here may help you fix your issue https://stackoverflow.com/questions/298 ... ertificate
Re: CSWEB ON CENTOS LINUX 8
Thanks for your answer.
I try all this solution but nothing works for me.
Here my PHP.ini config
###########################################################################
[curl]
; A default value for the CURLOPT_CAINFO option. This is required to be an
; absolute path.
;curl.cainfo =
curl.cainfo = "C:\wamp64\bin\php\php7.3.21\extras\ssl\cacert.pem"
###########################################################################
And vhosts configuration
##########################################################################
<VirtualHost *:7443>
ServerName csweb2.my.lan
DocumentRoot "${INSTALL_DIR}/www/csweb"
<Directory "${INSTALL_DIR}/www/csweb">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
SSLEngine on
SSLCertificateFile "C:/wamp64/www/my.crt"
SSLCertificateKeyFile "C:/wamp64/www/my.key"
SSLCertificateChainFile "C:/wamp64/www/my.cer"
</VirtualHost>
##########################################################################
I already have on webserver using 443 so i change listen port to 7443
I try all this solution but nothing works for me.
Here my PHP.ini config
###########################################################################
[curl]
; A default value for the CURLOPT_CAINFO option. This is required to be an
; absolute path.
;curl.cainfo =
curl.cainfo = "C:\wamp64\bin\php\php7.3.21\extras\ssl\cacert.pem"
###########################################################################
And vhosts configuration
##########################################################################
<VirtualHost *:7443>
ServerName csweb2.my.lan
DocumentRoot "${INSTALL_DIR}/www/csweb"
<Directory "${INSTALL_DIR}/www/csweb">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
SSLEngine on
SSLCertificateFile "C:/wamp64/www/my.crt"
SSLCertificateKeyFile "C:/wamp64/www/my.key"
SSLCertificateChainFile "C:/wamp64/www/my.cer"
</VirtualHost>
##########################################################################
I already have on webserver using 443 so i change listen port to 7443
Last edited by fahadji on August 12th, 2021, 10:03 am, edited 1 time in total.
Re: CSWEB ON CENTOS LINUX 8
I would suggest explicitly giving the 7443 port number in your api request https://mysite:7443/api
https://serverfault.com/questions/73438 ... 443/734395
If this does not work, you can check stopping the other web application running on 443 and configuring CSWeb to run on 443.
https://serverfault.com/questions/73438 ... 443/734395
If this does not work, you can check stopping the other web application running on 443 and configuring CSWeb to run on 443.
Re: CSWEB ON CENTOS LINUX 8
Hi savy.
I try to add the port number but still show me the same error. I try to use https native port (443) but got the same error.
Is there a way to disable php-curl check in csweb?
I try to add the port number but still show me the same error. I try to use https native port (443) but got the same error.
Is there a way to disable php-curl check in csweb?
Re: CSWEB ON CENTOS LINUX 8
Unfortunately, we are unable to help you with your configuration. Please check with your systems administartor.
Re: CSWEB ON CENTOS LINUX 8
OK. Finally i deploy using a proxy.
So csweb server is behind a proxy server that receives all request in https and forward it to csweb.
Thanks
So csweb server is behind a proxy server that receives all request in https and forward it to csweb.
Thanks