• Hello WordPress Community.
    I am creating my first wordpress website locally.
    Watching a youtube tutorial I could install and run WordPress successfuly in local environment.
    Now I am trying to install SSL to make the website secure and there I am stuck for a day.
    Apart from that I need it for newspack plugin which requires the api address to start with https

    During the installation while checking the status it shows this warning

    The Hosting Panel software was not recognized. Depending on your hosting provider, the generated certificate may need to be installed manually.

    And then while trying to generate a certificate it stops and throws this error

    Attempt 2. Error creating new order :: Cannot issue for "172.17.0.1": The ACME server can not issue a certificate for an IP address.

    Currently I am running the wordpress on this address https://172.17.0.1/

    Any help will be appreciated.

    Thanks in advance

    • This topic was modified 2 years, 8 months ago by greg0101.
    • This topic was modified 2 years, 8 months ago by greg0101.
    • This topic was modified 2 years, 8 months ago by greg0101.
    • This topic was modified 2 years, 8 months ago by greg0101.
    • This topic was modified 2 years, 8 months ago by greg0101.
    • This topic was modified 2 years, 8 months ago by greg0101.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Dion

    (@diondesigns)

    The message from the Let’s Encrypt certificate generation application you’re using is self-explanatory — domains that are IP addresses cannot have SSL certificates. Single-domain SSL certificates require DNS-mapped domain names.

    Localhost setups should never have public access because personal systems are not hardened against external attackers. You could find yourself with a system taken over by an attacker. You would also be vulnerable to DDoS attacks, which would likely result in a massive bandwidth overage surcharge, or even having your ISP terminate your internet access.

    So I will assume the localhost setup is for your personal use. That means you will not be able to use any plugin that requires an actual domain name, because having a (D)DNS-mapped domain name implies that you are allowing public access.

    Thread Starter greg0101

    (@greg0101)

    @diondesigns thanks for the answer. Ok, that makes sense.
    But how can I change my address from http to https so that I can install newspack plugin?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    What are you using for local hosting? If you use https://localwp.com, see https://localwp.com/help-docs/ssl/ssl-in-local/

    If not, try mapping a real, public domain name to your router, then use port forwarding on that router to route the access to your particular machine. Finally, you’ll need to do a search/replace on https://172.17.0.1/ to your domain name using a plugin like “better search replace”.

    Thread Starter greg0101

    (@greg0101)

    @sterndata thank you so much for the answer. I could finally install and set up ssl with localwp. It works fine.
    I personally would go with your second suggestion, but, unfortunately don’t know how php works.
    Thanks however

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    For testing purposes, localwp will give you an external address. It’s not for production, but this doesn’t sound like a production site.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to install SSL plugin on locally installed WordPress?’ is closed to new replies.