Title: error: invalid ssl certificate
Last modified: April 5, 2018

---

# error: invalid ssl certificate

 *  Resolved [idasilver](https://wordpress.org/support/users/idasilver/)
 * (@idasilver)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/error-invalid-ssl-certificate/)
 * made the mistake in WP-settings: defining the url as a [https://&#8230](https://&#8230);
   
   Now I cannot log in to my WP environment any more, I get the message that the
   connection is not private. The url changes to https:// even if it is not entered
   in the url-address bar of the browser.
 * Can I undo this, for instance by changing any wp file using FTP?
    (I can copy-
   paste code but do not “read” php so am not fully aware what I am doing).
    -  This topic was modified 8 years, 2 months ago by [idasilver](https://wordpress.org/support/users/idasilver/).
      Reason: formulating better
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-invalid-ssl-certificate%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/error-invalid-ssl-certificate/#post-10151788)
 * You can change the the siteurl and home values back to just http:// directly 
   in the database following this guide: [https://codex.wordpress.org/Changing_The_Site_URL#Changing_the_URL_directly_in_the_database](https://codex.wordpress.org/Changing_The_Site_URL#Changing_the_URL_directly_in_the_database)
 * You’ll find phpMyAdmin in your hosting account’s control panel.
 * If you do want your site to operate under https, first get a valid SSL certificate
   from your hosting provider, then follow this guide: [https://make.wordpress.org/support/user-manual/web-publishing/https-for-wordpress/](https://make.wordpress.org/support/user-manual/web-publishing/https-for-wordpress/)
 *  Thread Starter [idasilver](https://wordpress.org/support/users/idasilver/)
 * (@idasilver)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/error-invalid-ssl-certificate/#post-10153296)
 * James,
 * I tried and it worked.
    Thank you very much for your clear and quick response!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘error: invalid ssl certificate’ is closed to new replies.

## Tags

 * [connection not private](https://wordpress.org/support/topic-tag/connection-not-private/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [idasilver](https://wordpress.org/support/users/idasilver/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/error-invalid-ssl-certificate/#post-10153296)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
