From: Pat E. <pe...@gm...> - 2017-06-03 14:51:04
|
unfortunately this doesn't work that way. I tested it with #!/bin/sh virtualmin disable-feature --ssl --domain domains.com virtualmin enable-feature --ssl --domain domains.com problem mainly seems to be, that their is no letsencrypt certificate requested this way, so nothing is copied. this is a domain which already had a letsencrypt certificate. On Fri, Jun 2, 2017 at 7:49 PM Jamie Cameron <jca...@we...> wrote: > You could use the Virtualmin command-line API to loop over your domains > with SSL enabled ad re-enable it for each one. > > And yes, it will work in usermin too. > > On 02/Jun/2017 08:47 Pat Erler <pe...@gm...> wrote .. > > ok, but we have a lot of domains on the servers, some bulk option would be > nice to have.. > also, does the certificate works in usermin? > > On Fri, Jun 2, 2017 at 5:30 PM Michael Huntley <mi...@hu... > <http://reply_mail.cgi?new=1&to=michael%40huntley%2Enet>> wrote: > >> Works for me! >> >> >> On 2017-06-02 08:12, Jamie Cameron wrote: >> >> You could turn SSL off and on again on the Edit Virtual Server page. >> >> On 01/Jun/2017 21:10 Michael Huntley <mi...@hu... >> <http://reply_mail.cgi?new=1&to=michael%40huntley%2Enet>> wrote .. >> >> So no-joy with existing domains with SSL? >> >> On 2017-06-01 18:40, Jamie Cameron wrote: >> >> Hi Pat, >> >> You don't need to click that Copy to Dovecot button - the cert should be >> copied to the per-domain Dovecot config automatically (for new domains). >> >> On 30/May/2017 02:32 Pat Erler <pe...@gm... >> <http://reply_mail.cgi?new=1&to=perler%40gmail%2Ecom>> wrote .. >> >> ok, first, sorry, I meant 5.99 all along. >> this is what I am running (s. below), but the problem is as described. As >> soon as I try to copy a let's encrypt certificate to webmin or dovecot >> every request to the servers IP gets served this certificate. >> Operating system Ubuntu Linux 14.04.5 >> Webmin version 1.840 >> Virtualmin version 5.99 >> >> On Tue, May 30, 2017 at 12:01 AM Jamie Cameron <jca...@we...> >> wrote: >> >>> It will ... in Virtualmin 5.99 and above. >>> >>> On 29/May/2017 07:34 Pat Erler <pe...@gm...> wrote .. >>> >>> Does it? Will it? :) >>> >>> On Fri, May 26, 2017 at 6:50 AM Pat Erler <pe...@gm... >>> <http://reply_mail.cgi?new=1&to=perler%40gmail%2Ecom>> wrote: >>> >>>> ok, I've seen this option, but it's a bit confusing. I was under the >>>> impression that this would work for domains with a shared IP as well? >>>> >>>> On Fri, 26 May 2017, 04:14 Jamie Cameron, <jca...@we... >>>> <http://reply_mail.cgi?new=1&to=jcameron%40webmin%2Ecom>> wrote: >>>> >>>>> You don't need to use that button - it copies the cert to the >>>>> Dovecot default. Instead, there is a setting on the Virtualmin >>>>> Configuration page under "SSL settings" called "Copy per-IP SSL >>>>> certificates to Dovecot?" >>>>> >>>>> This will enable copying for new domains, or when SSL is enabled >>>>> for existing domains. >>>>> >>>>> On 24/May/2017 22:20 Pat Erler <pe...@gm... >>>>> <http://reply_mail.cgi?new=1&to=perler%40gmail%2Ecom>> wrote .. >>>>> > changelog says: >>>>> > >>>>> > >>>>> > - SSL certificates can now be copied to Dovecot even for virtual >>>>> servers >>>>> > that don't have their own private IP address. >>>>> > - The SSL certificate for all virtual servers will now be >>>>> configured for >>>>> > use in t he Virtualmin UI on port 10000, so that URLs like >>>>> > https://admin.domain.com:10000/ work without cert errors. >>>>> > >>>>> > >>>>> > but when I press "copy to.." webmin/dovecot the certificates for all >>>>> > domains get overwritten (ie the "main" domain) >>>>> > >>>>> > so, either this setting is somewhere else or it doesn't seem to work? >>>>> > >>>>> > best, >>>>> > >>>>> > PAT >>>>> > >>>>> > -- >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Check out the vibrant tech community on one of the world's most >>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>>>> - >>>>> Forwarded by the Webmin mailing list at webadmin-list@li >>>>> sts.sourceforge.net >>>>> <http://reply_mail.cgi?new=1&to=we%0D%20badmin%2Dlist%40lists%2Esourceforge%2Enet> >>>>> To remove yourself from this list, go to >>>>> http://lists.sourceforge.net/lists/listinfo/webadmin-list >>>> >>>> -- >>>> >>> -- >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Check out the vibrant tech community on one of the world's most >>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot- >>> Forwarded by the Webmin mailing list at >>> web...@li... >>> To remove yourself from this list, go to >>> http://lists.sourceforge.net/lists/listinfo/webadmin-list >> >> -- >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> >> - >> Forwarded by the Webmin mailing list at >> web...@li... >> To remove yourself from this list, go to >> http://lists.sourceforge.net/lists/listinfo/webadmin-list >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> >> - >> Forwarded by the Webmin mailing list at >> web...@li... >> <http://reply_mail.cgi?new=1&to=webadmin%2Dlist%40lists%2Esourceforge%2Enet> >> To remove yourself from this list, go to >> http://lists.sourceforge.net/lists/listinfo/webadmin-list >> >> >> ------------------------------------------------------------------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot- >> Forwarded by the Webmin mailing list at >> web...@li... >> <http://reply_mail.cgi?new=1&to=webadmin%2Dlist%40lists%2Esourceforge%2Enet> >> To remove yourself from this list, go to >> http://lists.sourceforge.net/lists/listinfo/webadmin-list >> > -- > > > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot- > Forwarded by the Webmin mailing list at > web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list > -- |