Gavin Lawrie

Q: Server 3 / SSL Certificate / Open Directory - Problem!

We've updated from Server 2 to Server 3 / OS X 10.9.

 

We have an SSL certificate for server from Comodo.

 

Under Server 2, all worked just fine, with the SSL certificate being used to secure all services (configure via Server app).

 

Under Server 3, all works just fine, but Open Directory will not accept certificate - so Certificates / Settings in Server 3 app shows "Custom Configuration" for Settings - and on inspecting this it is because Open Directory set to be not secured but everything else is using SSL.

 

I've tried setting the Open Directory to use the SSL, but when ever I do it simply bounces back to being unsecured.

 

Does this matter?  Presumably it should be possible (as the standard setting appears to try and set Open Directory to use the SSL certificate), but not sure whether trying to fix is simply a fools errand.

 

Anyone got any clues as to whether to fix or not, and if to fix, how?

 

Thanks in advance.

Mac mini (Late 2012), OS X Server

Posted on Nov 6, 2013 5:22 AM

Close

Q: Server 3 / SSL Certificate / Open Directory - Problem!

  • All replies
  • Helpful answers

first Previous Page 5 of 8 last Next
  • by Miggl,

    Miggl Miggl Feb 8, 2014 9:33 AM in response to tim_r_66
    Level 1 (77 points)
    Feb 8, 2014 9:33 AM in response to tim_r_66

    I'm having the exact same issue with a fresh install of Mavericks 10.9.1, Server 3.0.2, and a brand new UCC Cert from GoDaddy.

  • by Miggl,

    Miggl Miggl Feb 8, 2014 11:26 AM in response to Miggl
    Level 1 (77 points)
    Feb 8, 2014 11:26 AM in response to Miggl

    Update: I was able to get this working by doing the following:

     

    1. Turn off ALL services, except DNS and OpenDirectory.
    2. Delete my OpenDirectory master, this will turn off OpenDirectory and remove the self-signed cert.
    3. You should now only have the trusted cert installed. Make sure that the CA is trusted as well.
    4. Create a new OpenDirectory master. It will automatically select the trusted cert and not create a self-signed cert.
    5. Re-enable all desired services.
    6. Double-check in the Certificates tab, that only your trusted cert is being used.
  • by tallboybb,

    tallboybb tallboybb Feb 20, 2014 12:39 PM in response to Gavin Lawrie
    Level 1 (0 points)
    Feb 20, 2014 12:39 PM in response to Gavin Lawrie

    I just resolved this issue on Mavericks (after A LOT of work).  GoDaddy's website only provides instructions from OS X 10.6, and every variation of their instructions were not working.

     

    The solution ended up being very simple.

     

    Caveats:

    1) This was my first installation of OS X Server, so I had no previous cert to go off of.

    2) I have a wildcard cert that was signed by GoDaddy.  The certificate request and public and private keys were previously generated on another server.

     

    How to do it.

    1) On Mavericks server, click the "Certificates" section on the left panel.  The certificates panel will appear

    2) Click the "+" button at the bottom.  A menu will appear

    3) Select "Import a Certificate Identity...".  A dialog will appear asking for the certificate and the private key

    4) Log onto server that was originally used to generate the public and private key.  (In my case this was Linux server running Apache)

    5) Download the certificate generated by GoDaddy to your Mac (usually ends with a *.crt extension)

    6) Download the private key to your Mac (usually ends with a *.key extension)

    7) Drag the private key and the certificate onto the "certificate dialog"

    8) Click "Import"

     

    Hope that helps someone else.

  • by Peter-Erik,

    Peter-Erik Peter-Erik Feb 26, 2014 4:50 AM in response to tallboybb
    Level 1 (10 points)
    Feb 26, 2014 4:50 AM in response to tallboybb

    After upgrade to OS X 10.9.2 and the server to version 3.0.3 the problem is still there :-(

  • by Gavin Lawrie,

    Gavin Lawrie Gavin Lawrie Feb 26, 2014 4:57 AM in response to Peter-Erik
    Level 2 (413 points)
    Mac App Store
    Feb 26, 2014 4:57 AM in response to Peter-Erik

    Confirmed here too - update to Server 3.0.3 makes no difference to the problem.

  • by AustinJGibson,

    AustinJGibson AustinJGibson Feb 26, 2014 2:41 PM in response to Gavin Lawrie
    Level 4 (1,037 points)
    Feb 26, 2014 2:41 PM in response to Gavin Lawrie

    Has anyone had any trouble securing Open Directory with SSL? And with the latest bug, its not like SSL makes a difference anymore, anyways.

  • by Miggl,

    Miggl Miggl Feb 26, 2014 3:12 PM in response to AustinJGibson
    Level 1 (77 points)
    Feb 26, 2014 3:12 PM in response to AustinJGibson

    Working fine so far here. Server has been up and running for 15 hours now, using Kerberos and network sign-on, no issues.

  • by tim_r_66,

    tim_r_66 tim_r_66 Feb 26, 2014 3:38 PM in response to AustinJGibson
    Level 1 (50 points)
    Feb 26, 2014 3:38 PM in response to AustinJGibson

    I've only had problems thus far when I try to use 3rd party certificates.

  • by Miggl,

    Miggl Miggl Feb 26, 2014 4:08 PM in response to tim_r_66
    Level 1 (77 points)
    Feb 26, 2014 4:08 PM in response to tim_r_66

    Just to confirm my settings: I am using GoDaddy UCC.

  • by Gavin Lawrie,

    Gavin Lawrie Gavin Lawrie Feb 28, 2014 4:13 PM in response to Miggl
    Level 2 (413 points)
    Mac App Store
    Feb 28, 2014 4:13 PM in response to Miggl

    Just FYI, I filed this as a bug and have today had this notification from Apple

    Engineering has determined that your bug report (15978557) is a duplicate of another issue (15458777) and will be closed.

     

    No idea if this means anyone is actually doing anything about it.  But I hope it does...

  • by Peter-Erik,

    Peter-Erik Peter-Erik Mar 2, 2014 11:37 PM in response to Gavin Lawrie
    Level 1 (10 points)
    Mar 2, 2014 11:37 PM in response to Gavin Lawrie

    @Gavin  15458777 is my bug report number.  It's open - if I have more information I will post it here.

  • by Demetrios,

    Demetrios Demetrios Mar 7, 2014 12:38 PM in response to Peter-Erik
    Level 2 (206 points)
    Mar 7, 2014 12:38 PM in response to Peter-Erik

    +1 for this bug being a deal breaker on our server. hope Apple fixes this soon!

  • by hvar,

    hvar hvar Mar 13, 2014 4:49 AM in response to Miggl
    Level 1 (0 points)
    Mar 13, 2014 4:49 AM in response to Miggl

    Miggl.

     

    I have been struggeling with this on several servers using a wildcard certificate from GoDaddy. The certificate works just fine on 10.6.8, and on other platforms. On 10.8 and 10.9 I have major problems though.

     

    If I use a brand new installation everything works like a charm, I can add replicas, and it can works as long as I do not restart the server. Upon restart however I get all kinds of errors, and Open Directory will not work. I get a wide range of errors, including:

    --> slapd[74179]: TLS: could not convert keychain item 'APPLE:*.xxxxxxx.com' to EVP_PKEY

    and failure to start, like:

    -->  (org.openldap.slapd) Throttling respawn: Will start in 10 seconds

     

    Have you rebooted your box after getting it to work?

  • by brucefromamherst,

    brucefromamherst brucefromamherst Mar 14, 2014 2:01 PM in response to Gavin Lawrie
    Level 1 (0 points)
    Mar 14, 2014 2:01 PM in response to Gavin Lawrie

    I am having this exact same problem, and just noticed it. The certs we use here (Office of Information Technology at University of Massachusetts Amherst) are most often issued by InCommon.org so there shouldn't be a problem with this.

     

    I am now wondering if this is causing a related problem with Profile Manager.

     

    This is happening on Server v3.0.3 after an upgrade from 10.8 / Server 2.

  • by Peter-Erik,

    Peter-Erik Peter-Erik Mar 19, 2014 2:38 AM in response to brucefromamherst
    Level 1 (10 points)
    Mar 19, 2014 2:38 AM in response to brucefromamherst

    Did someone already check it with the latest Server update v3.1?

first Previous Page 5 of 8 last Next