Your server needs to have openssl installed

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Your server needs to have openssl installed

Postby jessica_lamb » 10. May 2012 23:32

Sorry also getting this error

Your server needs to have openssl installed.
jessica_lamb
 
Posts: 24
Joined: 07. May 2012 22:35
Operating System: Windows 7

Re: Your server needs to have openssl installed

Postby Altrea » 11. May 2012 05:19

Hi Jessica,

This error reporting is way to unspecific.
Your "Server" does already have OpenSSL enabled, Apache is listening on the SSL port 443 by default.
PHP doesn't have the openssl library activated because it is not common needed. How to enable libraries in your php.ini is described in your other thread.

best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8293
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Your server needs to have openssl installed

Postby jessica_lamb » 11. May 2012 13:11

Hi Altrea,

I'm getting this message when I am trying to install the PHP program. This is the only error message that I have now because in the last thread I was able to fix the cURL. I understand now how to enable the libraries but I can't find the one pertaining to OpenSSL. The PHP program that I'm trying to install is a financial program for my business. I think that's why it's asking me about the OpenSSL. I did try something. When I first start the localserver, it tells me For OpenSSL support please use the test certificate with https://127.0.0.1 or https://localhost

I tried this. However the program still will not install and in the address bar the https:// has a big red X on it.
jessica_lamb
 
Posts: 24
Joined: 07. May 2012 22:35
Operating System: Windows 7

Re: Your server needs to have openssl installed

Postby jessica_lamb » 11. May 2012 13:14

This is all part of this same issue.

I get this when I first try opening the page with the Https://
The site's security certificate is not trusted!
You attempted to reach localhost, but the server presented a certificate issued by an entity that is not trusted by your computer's operating system. This may mean that the server has generated its own security credentials, which Google Chrome cannot rely on for identity information, or an attacker may be trying to intercept your communications.
You should not proceed, especially if you have never seen this warning before for this site.

How can I get my computer to trust the certificate? Is this why I can't seem to access the https:// site?
jessica_lamb
 
Posts: 24
Joined: 07. May 2012 22:35
Operating System: Windows 7

Re: Your server needs to have openssl installed

Postby jessica_lamb » 11. May 2012 23:26

I figured it out I think. How can I install the certificate in the Trusted Root Certification Authorities Store?
jessica_lamb
 
Posts: 24
Joined: 07. May 2012 22:35
Operating System: Windows 7

Re: Your server needs to have openssl installed

Postby hackattack142 » 13. May 2012 05:25

I am a little concerned as to what you are trying to do. You mentioned you were trying to setup a financial service for your business/employer? Are you trying this out as purely a test thing?

If not, you really should probably not use a self-signed certificate in the server and the XAMPP package was not designed for a production environment.

If you are doing it to learn, you need to read up on certificates. The certificate you are dealing with is not a really a root certificate. You can generate your own self-signed certificate for your own testing using the openssl.exe program that is in the apache/bin folder.

http://en.wikipedia.org/wiki/Public_key_certificate
http://www.akadia.com/services/ssh_test ... icate.html
XAMPP Control Panel Developer
Latest CP: viewtopic.php?f=16&t=48932
hackattack142
 
Posts: 703
Joined: 20. May 2011 23:29
Operating System: Windows 7 Ultimate SP1 64-Bit

Re: Your server needs to have openssl installed

Postby jessica_lamb » 13. May 2012 21:32

I may have overstated the financial service---it's more really like an web based database. It's to keep track of my inventory nothing really financial and it's not for production. And it's a whole different program but it uses the PHP which is how I got involved in this whole thing. But what I don't understand is that Altrea said that the openssl is already installed just needs to be activated....but I can't find it (which is how the other problem got started)
Altrea wrote:Hi Jessica,

This error reporting is way to unspecific.
Your "Server" does already have OpenSSL enabled, Apache is listening on the SSL port 443 by default.
PHP doesn't have the openssl library activated because it is not common needed. How to enable libraries in your php.ini is described in your other thread.

best wishes,
Altrea


And I can find all the information for the certificate however when I go to import the certificate I can't view it and the computer can not find it to import on it's own. I have the serial number and everything for the certificate. I also get this message when I go into c:\xampp\apache\bin\openssl.exe
WARNING: can't open config file: c:/openssl-1.0.0e/ssl/openssl.cnf

This is all the information that i have. Please help.
jessica_lamb
 
Posts: 24
Joined: 07. May 2012 22:35
Operating System: Windows 7

Re: Your server needs to have openssl installed

Postby hackattack142 » 13. May 2012 21:51

All the files needed for SSL are already present you just need to add an additional line to your PHP.ini file. In this case, you would add
Code: Select all
extension=php_openssl.dll
in the section of the file with the other ones. It may already be there but is commented out with a ';' in front of it. If that is the case, just remove the ';' from the beginning of it.

Apache does have SSL enabled and does come with a certificate. See the ssl.crt and ssl.key in /xampp/apache/conf.

Do not worry about the warning message from OpenSSL, it should still work as intended to generate a new private key and self-signed certificate if you want one. You will get warnings with self-signed certificates they they cannot be verified and that is normal unless you buy a certificate from a certificate authority.
XAMPP Control Panel Developer
Latest CP: viewtopic.php?f=16&t=48932
hackattack142
 
Posts: 703
Joined: 20. May 2011 23:29
Operating System: Windows 7 Ultimate SP1 64-Bit


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 53 guests