Bulk changing all websites from SSL to non-SSL (443 to 80)

While I was cleaning up my Mountain Lion Server, I innocently updated some SSL server certificates.
Shortly afterwards, I found that ALL my HTTP (80) sites didn't work. I went into the Server.app and found that ALL my sites were now using port 443, rather than the port 80 that they were running on.
Since I have over 100 sites, I need to know how to BULK update them back by removing the certificate they were assigned when I updated that specific cert.
How did I update the certificate? I was looking at the Alerts section of the Server.app, that told me that some were expiring. There was a Replace button and that's what I clicked. I was never warned that it would change ALL my sites from having NO certificate to the certification that I replaced.
Any ideas on how to resolve this issue quickly, without having to open up EACH site and change the certification to NONE (and thus changing the port back to 80)?

There's no bulk update via the GUI [1], which leaves shutting off Server.app and mass-editing the Apache data.
For a bulk change of 443 to 80, something like this should get you started. 
FWIW, Do also confirm whether the port 80 sites are still around in the configuration data, as some web browsers are now selecting 443 whenever that's available.
[1] Yes, I'm probably ignoring scripting via AppleScript here.  If I have to script something, it'll be the Apache data and not the GUI, and using bash, Python or other such and likely not AppleScript.  Local preference.

Similar Messages

  • HT1311 how to change the payment from visa to none payment iPhone 4S

    how to change the payment from visa to none payment
    iPhone 4S

    martinimartini wrote:
    I have the same problem. I used Pay Pal payment before but Pay Pal limited my account so I can only use Pay Pal until after 180 days according to their specific regulations. I also do not have any credit card. How am I supposed to pay for my Skype that I have been using since start of Skype. I really need outgoing calls.  Martin
    Hi,
    As I understand you have a restriction on your PayPal account, unfortunately this is something Skype can't help you with.
    But you can try alternative payment methods: www.skype.com/intl/en-us/prices/ways-to-pay/
    Another option is to let your friend set up Skype Manager account, purchase credit there and allocate it to you: https://support.skype.com/en-us/faq/FA10519/What-is-Skype-Manager-and-how-does-it-work
    Andre
    If answer was helpful please mark it with Kudos and if issue is resolved mark it with solution. This will help other users find this answer more easily. Thanks in advance!

  • PM: change all Orders from sub-operation to operation level

    Hi Folks,
    I've a requirement to change all PM-Orders from Operation-SubOperation to only Operation Level.
    Example:
    Op SubOp --> New Op   (no subOp)
    10__10__-->____10
    10__11__-->____11
    10__12__-->____12
    10__13__-->____13
    10__14__-->____14
    20__10__-->____20
    20__11__-->____21
    Does someone here know, how I can make do this in an easy and save way?
    The only way I see is to make an own report with calling BAPI BAPI_ALM_ORDER_MAINTAIN.
    Have someone another solution
    - SAP-Standard-Report?
    - LSMW?
    Regards

    Hi Raghu,
    Many Thanks for your quick reply.
    Okay ... no LSMW.
    And also no Standard-Reports?
    Do you think, making my own program is the best way?
    Regards,
    Daniel

  • Bulk change all O365 email addresses

    Hi,
    got forwarded from http://community.office365.com/en-us/f/155/p/273731/836967.aspx#836967 to this forum.
    To make it short: I need to remove all of my Office 365 domains from the current tenant, even though they might still be in use for userprincipalname, emailaddresses or primarysmtpaddress. Mostly we're talking about MailUser-objects. 
    The goal is to change all of the above values to [email protected] .
    I already tried several scripts - some were outdated, some were not working for Office 365.  The only one which (particularly) worked out was this one:
    get-mailuser -resultsize unlimited | foreach { set-mailuser -identity $_.identity -emailaddresses "SMTP:$($_.primarysmtpaddress)"}
    Does anyone have any idea on how to solve this?
    Best,
    Daniel

    To list all mailboxes that have aliases matching a particular domain, use the following:
    $allm = Get-Mailbox -Filter {Emailaddresses -like "*@domain.com"}
    To change the aliases, use this:
    $allm | % { Set-Mailbox $_.Identity -EmailAddresses $_.Emailaddresses.Replace("domain.com","domain.onmicrosoft.com") }
    And repeat the same for contacts, mail users, etc. Note that you will need to REMOVE the @domain.onmicrosoft.com address first, if it is already added on those objects.
    To do the same for the UPNs, use this:
    $all = Get-MsolUser -all
    $all | ? {$_.UserPrincipalName -like "*@domain.com"} | % { Set-MsolUserPrincipalName -UserPrincipalName $_.UserPrincipalName -NewUserPrincipalName $_.UserPrincipalName.Replace("domain.com","domain.onmicrosoft.com") }

  • How to change all datasources from one database to another

    I have many datasources defined in weblogic connect to one database, login as different users to different sachems.
    Is there any easy way to switch all of them to another database? changing each of them through console seems not so easy.
    Thanks

    you can use WLST - use the console to record the step for 1 datasource, and use the generated python file as a reference
    connect('weblogic', 'weblogic1', 't3:yourhost:7001')
    datasource='your_datasource'
    datasource_url='your_new_url'
    edit()
    startEdit()
    cd('/JDBCSystemResources/' + datasource + '/JDBCResource/' + datasource + '/JDBCDriverParams/' + datasource)
    cmo.setUrl(datasource_url)
    save()
    activate()

  • HT204053 I have bought my ipad from Germany. How can I change all settings from German to English.

    I have bought my iPad from Germany.
    It goes to iPad store of Germany!!!
    I need to change it to English one.

    Change App Store
    1. Tap "Settings"
    2. Tap "iTunes & App Stores"
    3.Tap "View Apple ID"
    4. Enter your user name and password.
    5. Tap "Country/Region."
    6. Tap "Change Country/Region"
    7. Select the region where you are located.
    8. Tap "Done".

  • How To Change 'ALL' Value from Radio button

    Is it possible to change the 'ALL' value that is defaulted in the radio button group in BEx Web Designer?  Instead of showing as 'ALL' I would like it to display 'Show All Products'

    Create a custom Javascript which will replace the text for ALL on the onload event of the web template.
    Thanks.

  • Can you change smcwebserver login from root to non-root user

    I've tried digging in various place and haven't found any luck with this. Is it possible to change that default login from the system root to another user?

    Not sure about the first part.
    But i think you can fix the timing on the reader using this patch.
    http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=MIGR-67245
    Have a try not sure whether it will fix your problem.

  • How to change remote_login_passwordfile from exclusive to NONE?

    Hi all,
    I used dbca to create a database in linux server. then created an ops$oracle user using the below SQL:
    create user ops$oracle identified by externally; grant dba to ops$oracle;
    How can i change this parameter to NONE?
    Thanks

    Hey,
    In oracle 9i, remote_login_passwordfile is a init parameter and you will need to shutdown database to change this value from exclusive to none. Because this parameter class is STATIC.
    # Security and Auditing
    remote_login_passwordfile=NONE
    Please take a look at -
    http://download-west.oracle.com/docs/cd/A91202_01/901_doc/server.901/a90190/ch1175.htm#943597
    or
    http://download-west.oracle.com/docs/cd/A91202_01/901_doc/server.901/a90117/dba.htm#1283
    I hope this can help you.
    Cheers,
    Marcello

  • How do I remove all apps from my iPhone?

    How do I bulk remove all apps from my iPhone? There has to be a better way than removing each one manually. Thanks.

    It's easiest to plug it into the computer if you have a lot, and click on the Music tab of the iPhone. Then, either Control-A (Windows) or Command-A (Mac) to select all of the songs then press delete on your keyboard. If you have a few, it is easiest to swipe over the individual songs and press delete.

  • Blocking all websites except a few + Skype and other chat programs

    Hello,
    Can you tell me how can i block all websites from a network except a few of them using a Linksys wireless router?
    Also, i need to block several ports used for Skype and other chat apps.
    I want this solution to work for the whole network. Not using windows policy or other ways where i'd have to go to every single computer.
    Thank you.

    There's a way on how to do that but it depends on the model number of your device. What's the model number of your router anyway?

  • PRINT PRODUCTION - CONVERT COLORS - CHANGING LINE WEIGHTS FROM 5 PT TO 1 PT - BIG PROBLEM

    I've had three jobs in the past months from customers.  Most are created in Indesign with a variety of graphics and illustraitions (Illustrator).
    When I made a PDF and use the PRINT PRODUCTION ==> CONVERT COLORS ==. CONVERT COLORS TO OUTPUT INTENT and SELECT PRESERVE BLACK some of the lines change.
    1) Today a customer usinged 5pt stroked curved lines created in Indesign in the background of a page.  Acrobat saw them as 5 pt and when I used the workflow above changed them to 1 pt.
    2) Another example:  a circle was drawn in Illustrator, stroked with 7 pt stroke.  The graphic imported into INDESIGN.  I exported to PDF and ran the above workflow and it changed the stroke to 1.
    3) Another example:  A customer created a honeycomb in Illustrator with a .25 pt stroke, imported graphic into page in INDESIGN. I exported to PDF and ran the above workflow and it changed the stroke to 1.
    I use this workflow to change all colors from graphics to CMYK.
    Why is changing line weights?

    Oops!! Not until now I discover that under 'Solutions' I happened to write 'untick' where it should be 'tick'! I.e, colors SHOULD be converted to RGB in order to circumvent the problems! I.e it runs havoc in v9 when CMYK colors are NOT converted to RGB! Don't know how I came to write the opposite, but probably I started out by describing the situation where the problems are seen rather than describing how to avoid them.
    Equally strange is that nobody corrected me, but perhaps the mistake was so obvious? (But whether you see problems or not might depend on what fonts you use. So, under certain special circumstances, CMYK might actually work without these reported problems.)
    I am also a bit surprised that others haven't reported the issue that the PDF version set in PDF job Options isn't respected when using 'Save As PDF' and Acrobat 9? (Or maybe someone has, but I have missed it.)

  • I cannot get subtitles on my new smart tv. I've read all the solutions online and none of them work. When I try to airplay the BBC i player by mirroring my iphone 4 the subtitles disappear when I change from iphone to appletv.

    I cannot get subtitles on my new smart tv. I've read all the solutions online and none of them work. When I try to airplay the BBC i player by mirroring my iphone 4 the subtitles disappear when I change from iphone to apple tv.

    That's because the BBC iPlayer app uses basic AirPlay to show the content, this means the original content is sent to the Apple TV for it to decode rather than mirroring the screen of the iPad where the subtitles are added.

  • Session Cookies Being Overwritten Browsing From SSL to Non SSL

    I have created a bug report for this issue as well.
    Please note I am using J2EE session variables so keep that in mind.
    I am seeing session cookies being overwritten when browsing from an SSL connection to a non SSL connection.
    For example:
    Visiting https://www.domain.com/ results in a JSESSIONID cookie being set with details being send for "Encrypted connections only".
    Visiting http://www.domain.com/ results in a JSESSIONID cookie being set with details being send for "Any type of connection".
    Here's the problem:
    Say for example, you're logging into an admin module located at https://www.domain.com/admin/. Once authenticated and some session variables are set, you browse to http://www.domain.com/. When that happens your session cookie (JSESSIONID) is overwritten with a new value and you instantly lose your authentication in the admin module.
    Obviously this is causing massive problems for my clients that bounce back and forth from SSL to non SSL connections which is common for e-commerce websites.
    Steps to Reproduce:
    1. Clear your cookies.
    2. Visit a web page such as https://www.domain.com/. Note the JSESSIONID cookie value.
    3. Visit a web page such as http://www.domain.com/. Note the JSESSIONID cookie value and how it was overwritten.
    This behavior changed in ColdFusion 10. ColdFusion 9 did not overwrite the session cookie.
    Has anyone else experience this?

    Deleting and re-adding my account seems to have fixed it.  I think when I initially added my Google Talk account, it was by using the "Add Jabber Account" under 10.6 or something.  Now, when I re-added my account, I notice both "Google Talk" and "Jabber" are options, so my thought here is that Jabber and Google Talk options are no longer quite the same thing.

  • Trying to Access Website using SSL running JAVA from inside ORACLE DB

    Hi,
    I am trying to access website using SSL and running JAVA code from inside Oracle 10g DB server using SSL and Java. I have loaded my java code into Oracle data base. My problem is when I am running same code from outside the DB it is running perfectly fine but when the same code is loaded into DB and trying to run from DB under these environment I am using for running my code:-
    JDK 1.4.2_06
    JSSE 1.4
    Database :- Oracke 10G
    I am getting following Exception:-
    CALL testssl_http_mar20_New();
    java.io.IOException: Unable to tunnel through 123.456.789.123:80. Proxy returns "HTTP/1.1 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied.)
    at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a(DashoA12275
    at
    com.sun.net.ssl.internal.www.protocol.https.HttpsClient.doConnect(DashoA12275)
    at
    com.sun.net.ssl.internal.www.protocol.https.NetworkClient.openServer(DashoA12275
    at com.sun.net.ssl.internal.www.protocol.https.HttpClient.l(DashoA12275)
    at com.sun.net.ssl.internal.www.protocol.https.HttpClient.<init>(DashoA1
    2275)
    at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.<init>(DashoA
    12275)
    at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a(DashoA12275
    at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a(DashoA12275
    at
    com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.connect(DashoA122
    75)
    at
    com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.getInputStream(Da
    shoA12275)
    at java.net.URL.openStream(URL.java:924)
    at SecureURLhttp_Mar20_New.SecureURLhttp_Mar20_New(
    source code is below :-
    import java.io.*;
    import java.net.*;
    import java.security.*;
    import java.util.*;
        public class SecureURLhttp
              public static void main(String[] args) throws Exception
                  SecureURLhttp r = new SecureURLhttp();
                  r.SecureURLhttp();
        public static void SecureURLhttp() throws IOException
                System.setProperty("java.protocol.handler.pkgs","oracle.aurora.rdbms.url|com.sun.net.ssl.internal.www.protocol");
                System.setProperty("https.proxySet","true");
                Authenticator.setDefault(new MyAuthenticator());
                System.setProperty("https.proxyHost","123.456.789.123");
                System.setProperty("https.proxyPort","80");
               //  URL verisign = new URL("https://login.oracle.com/");
                URL verisign = new URL("https://www.verisign.com");
                BufferedReader in = new BufferedReader(new InputStreamReader(verisign.openStream()));
                String inputLine;
                while ((inputLine = in.readLine()) != null)
                System.out.println(inputLine);
                in.close();
                 /* Code Newly Add for checking the system property   */
                java.util.Properties props = System.getProperties();
                java.util.Enumeration propNames = props.propertyNames();
                 while (propNames.hasMoreElements ())
                 Object o=  propNames.nextElement();
                 String name = (String ) o;
                 String val =  props.getProperty(name)   ;
                 System.out.println ( name +  "  = "  + val );
        private static class MyAuthenticator extends Authenticator {
              protected PasswordAuthentication getPasswordAuthentication() {
                   return new PasswordAuthentication("<USERNAME>",new String("<USER_PASSWORD>").toCharArray());
         }Please help me out:
    Thanks a lot in advance.

    0- the fact the ISA server logs an 'anonymous' seems logical, since it answers by HTTP 407. I will say it's even a "good log" :) but I had preferred a good old "security exception" but it's not the case..
    1- The code for checking the properties (your debugging) should be placed BEFORE trying to connect to the url if you want to see what's happening
    2- The 'normal' way to set the proxy is to set the following properties
    System.setProperty("http.proxySet","true"); // and NOT https.proxyset as ejp said
    System.setProperty("http.proxyHost","123.456.789.123");
    System.setProperty("http.proxyPort","80");
    3- what's the behavior if you change 123.456.789.123 by the real name (hostname) of the server ?
    4- You can try setting up the proxy in the java control panel instead of in your code (easy to do under Windows, you look for the networking settings, and you find the proxy settings for http/https there. Otherwise look for all files called net.properties and edit them).
    5- to help debbuging, we can rely on several methods of Authenticator :
    protected PasswordAuthentication getPasswordAuthentication() {
    System.err.println(".\tgetRequestingHost: " + getRequestingHost());
    System.err.println("..\tgetRequestingSite: " + getRequestingSite());
    System.err.println("...\tgetRequestingPort: " + getRequestingPort());
    System.err.println("....\tgetRequestingProtocol: " + getRequestingProtocol());
    System.err.println(".....\tgetRequestingPrompt: " + getRequestingPrompt());
    System.err.println("......\tgetRequestingScheme: " + getRequestingScheme());
    return new PasswordAuthentication("<USERNAME>",new String("<USER_PASSWORD>").toCharArray());
    Try all this and let us see the output messages.
    Please remember to give some 'duke stars' if it helped resolving the problem ;)
    NephYliM

Maybe you are looking for

  • Error in BI Content 7.03 Import

    Hi, i have installed BW 7.0 in unix machine. I am getting the follwoing error during BI content 7.03 import. Pls let me know whether , i have to import BI-content 7.01 before or i can import BI 7.03 directly I am facing error in XTA_put execution <b>

  • HOW CAN I DOWNGRADE TO IOS 6.1.3 ON MY IPHONE 4S??????

    Look. I don't care how much time and effort apple put into the creation of iOS 7. If I wanted an Android device, I could've gone out to the store and bought one. iOS 7 ***** ***. I friggin' hate it. It's eating away at my battery and the color scheme

  • Adobe CS3 and MacBook Pro: any problems?

    i am about to purchase a new 15" macbook pro and adobe cs3. has anyone experienced problems or issues with cs3 running on their macbook pro? thanks!

  • How to Make Link Open an Attached PDF?

    I see in "Link Properties" and "Actions" that there is an option to "Open a file"; but when I select this, and click "Add"--I am not given the opportunity to link to the other PDF file that is already attached to the PDF file that I'm working on. I k

  • Calling a customized .pdf in Isupplier Portal

    Hi all, I hava a urgent requirement in which I have to call a customised .pdf (Purchase Order) instead of Oracle's Standard purchase order. The .pdf can be call by selecting "view pdf" option from the "Actions" message choice. I have checked through