Certificate error configuring a Debugging remote web server

Hello, I'm configuring PHPStorm with VVV following this guide: https://blog.jetbrains.com/phpstorm/2016/06/debugging-vvv-vagrant-setup-with-phpstorm/

When I come to the point of configure a Debugging Remote Web Server, I get an error like this:

The problem can be that the domain is using a ssl certificate, I've created a ssl certificate through OpenSSL and it's working fine, but I get this error when I try to configure the Remote debugging.

What can I do?

 

Thank you.

1
7 comments

Please go to File | Settings (PhpStorm | Preferences on Mac) | Tools | Server Certificates > tick "Accept non-trusted certificates..."

0
Avatar
Permanently deleted user

Thank you Dmity, but that doesn't solved my issue :(

It wasn't checked, but after check that box and restart the IDE I still have the same issue. Any other idea?

 

Thank you.

0
Avatar
Permanently deleted user

What data is in the certificate? What domain name is set there?

0
Avatar
Permanently deleted user

Hi Vladimir, I created an ssl certificate with OpenSSL using this command:

openssl req -newkey rsa:2048 -x509 -nodes -keyout leadersinsport.dev.key -new -out leadersinsport.dev.cert -subj /CN=leadersinsport.dev -reqexts SAN -extensions SAN -config <(cat /etc/ssl/openssl.cnf <(printf '[SAN]\nsubjectAltName=DNS:example.dev')) -sha256 -days 3650

Thank you.

0

It looks like this one: https://youtrack.jetbrains.com/issue/WI-35706
AFAIU, you can't browse the SFTP via PhpStorm, can you?
If you can't, please try if it's possible via FileZilla or something.

0

I was the same problem, I solve putting correct name on CN field, that should be the same of URL

1

^^^ This was my issue also. 

0

Please sign in to leave a comment.