The openssl extension is required for SSL/TLS protection but is not available

You have to set the status of enable_tls to true or false by using composer command to remove the error The openssl extension is required for SSL/TLS protection but is not available.

Answers 1
  • Disable/enable TLS using composer command

    //To disable tls true.
    composer config -g -- disable-tls true
    
    //To disable tls false.
    composer config -g -- disable-tls false
    
    0

    You have to use one of the both command. You can make disable-tls true or disable-tls false.

  • Back to code snippet queries related laravel