Coder Social home page Coder Social logo

Comments (8)

longlu avatar longlu commented on September 23, 2024

for WPMU sites, it would be great if ssl can be installed or updated automatically

from wordops.

jeroenops avatar jeroenops commented on September 23, 2024

This is a welcome feature. Since we switched to 'ACME.sh' the feature is already in the base - just need to adopt it in WordOps.

For the WPMU sites, would you like to have a certificate on a per domain basis, or one certificate with each domain as a SAN (alternative name)?

from wordops.

longlu avatar longlu commented on September 23, 2024

i'm not sure ,because I don't know which is better.

I just use free ssl from let's encrypt so that chrome don't says it's 'not secure'

the certificate need to renew automatically.

from wordops.

ddur avatar ddur commented on September 23, 2024

Hi Jeroen,

First, I want to thank you for this great fork/work.

I think it is better to have single certificate for all multisite sub.domains. Or choice of both.
When using wildcard, I do not think that is possible to have certificated sub-domains on more than one server/IP.

See how is this plugin is WAS working:
https://wordpress.org/plugins/wp-encrypt/
https://github.com/felixarntz/wp-encrypt

Maybe this helps
https://community.easyengine.io/t/letsencrypt-on-multisite-setup/8123/8

from wordops.

s-a-s-k-i-a avatar s-a-s-k-i-a commented on September 23, 2024

One question: when using domain mapping (like main instance is domain1.com and second instance inside multisite network is domain2.com etc.), will this also work? How is wo with letsencrypt being used then?
Under ee I was setting up separate vhosts per domain and changed the domain2.com's root config to point to my multisite's main domain root. Had to set it back to the domain's own root before being able to update the letsencrypt cert.

from wordops.

VirtuBox avatar VirtuBox commented on September 23, 2024

Hello @s-a-s-k-i-a,
currently it will be pretty similar with WordOps excepted you will not have to update your vhost each time for letsencrypt renewal because it should work properly even with modified root directory. You can also use the DNS API validation to not have to care about acme challenge anymore.

from wordops.

s-a-s-k-i-a avatar s-a-s-k-i-a commented on September 23, 2024

HEj @VirtuBox
Thanks for your reply.
hm.. it seems to not work.. I migrated an ee server to wo where a multisite is set up.
Ran
wo site update domain.com --wpsubdomain --wprocket
then
wo site update domain.com --php73
then tried
wo site update domain.com --letsencrypt
it is giving me:
SSl is already configured for given site
Because I set up non le certs manually for this vhost. When I try and comment out the ssl config for that vhost and reload nginx, I am getting errors like what I described in my post in chat.wordops.com

Also I am seeing such response for a subdomain with another top-level domain under a separate vhost I am trying to set up letsencrypt with.
it is a bit complex I think:
root@myserver:~# wo site update srv.my-domain.de --letsencrypt
local variable 'iswildcard' referenced before assignment

from wordops.

VirtuBox avatar VirtuBox commented on September 23, 2024

Please open another issue with all informations you have and describe each usage case. I will investigate on this as soon as I'm back at work

from wordops.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.