Skip to main content

Switching from cURL-NSS to cURL-OpenSSL

Comments

12 comments

  • JacobPerkins
    Hi, OpenSSL is provided by the operating system, and there is no specific OpenSSL packages for EasyApache 4. EA4 will simply link to the appropriate SSL libraries found on the OS. I hope this helps!
    0
  • Martin Werner
    Okey, I need to use OpenSSL instead of NSS with cURL for a website to function properly. How do I switch between them?
    0
  • syslint
    Can you create a phpinfo page on your websites document root and check, whether it have openssl ? It it show openssl, then please refer this documentation to know how to use it.
    0
  • Martin Werner
    I used the PHP-cli info-command and it shows this (I have also created a phpinfo-page which shows the same): php -i | grep "SSL Version" SSL Version => NSS/3.18 Basic ECC I need the SSL Version to be OpenSSL instead of NSS but I can't find any guides anywhere.
    0
  • syslint
    You are using easy apache 4 right ? What is the result of the following command # yum search openssl | grep php
    0
  • Martin Werner
    I get nothing. (Isn't php-openssl included in php-common?)
    0
  • syslint
    php-openssl won't come with php-common . You may refer ea4 documentation to add a custom php module, otherwise switch to ea3 and compile it easily.
    0
  • Martin Werner
    Okey, well I want to run ea4 because they will be adding PHP7 to ea4 and not ea3. I'll look at the documentation for adding a custom PHP-module. Do I have to do anything else than installing php-openssl? Will cURL automatically switch to using it rather than NSS?
    0
  • Martin Werner
    Okey so I have php56-openssl installed but cURL is compiled with NSS instead of OpenSSL, how do I recompile cURL?
    0
  • cPanelMichael
    Okey so I have php56-openssl installed but cURL is compiled with NSS instead of OpenSSL, how do I recompile cURL?

    Hello :) Could you let us know how you uninstalled NSS and installed OpenSSL? Thank you.
    0
  • Christopher Hedqvist
    Having the same Issue here, When we switched to EasyApache4 to have Multi-PHP versions and PHP7 and much more, when php was rebuild curl was compiled with NSS instead of openSSL. Looking for options to recompile curl with openssl now.
    0
  • cPanelMichael
    Having the same Issue here, When we switched to EasyApache4 to have Multi-PHP versions and PHP7 and much more, when php was rebuild curl was compiled with NSS instead of openSSL. Looking for options to recompile curl with openssl now.

    Please post the output from the following command:
    curl -V
    In addition, you may find the comments on this feature request helpful: Update cuRL for EasyApache 4 and CentOS or CloudLinux 6.8 Thank you.
    0

Please sign in to leave a comment.