6 Replies Latest reply: Jun 22, 2012 1:13 PM by etresoft
Eduardo B1 Level 2 Level 2 (465 points)

Does anyone have successfully updated OpenSSL on Snow Leopard thru the Terminal could post the steps here?

 

The actual version of open SSL is OpenSSL 1.0.0e 6 Sep 2011

I am attempting to update to the openssl-1.0.1c

I was trying to do the installation on the terminal by

1. CD to the openssl-1.0.1c directory

[rootuser:/install/openssl-1.0.1c] root# /install/openssl-1.0.1c/config

 

After giving the System information, I have this and now I am in doubt if I should build 64-bit library or just continue with the darwin-i386-cc.

 

WARNING! If you wish to build 64-bit library, then you have to

         invoke './Configure darwin64-x86_64-cc' *manually*.

         You have about 5 seconds to press Ctrl-C to abort.

Configuring for darwin-i386-cc

 

Anyone that had done this before and gone to the same issue, could shine a light here. Many Thanks!

 

Message was edited by: Eduardo B1


MacBook Pro, Mac OS X (10.6.8), 4 GB - 2.6 GHz
  • 1. Re: Updating OpenSSL on Mac System version 10.6.8?
    etresoft Level 7 Level 7 (24,270 points)

    If there were an update to OpenSSL you would have received it via software update. It is highly unlikely that you would be able to get the OpenSSL trunk running in Snow Leopard. Apple has customized logic in its version.

  • 2. Re: Updating OpenSSL on Mac System version 10.6.8?
    Eduardo B1 Level 2 Level 2 (465 points)

    Thanks etresoft;

     

    Then I have to assume  that the actual version of OpenSSL 1.0.0e 6 Sep 2011 must be ok!

  • 3. Re: Updating OpenSSL on Mac System version 10.6.8?
    Eduardo B1 Level 2 Level 2 (465 points)

    Adding to the reason of this question was that I had to install webmin on Lion. The installation went well and SSL is working just fine. I also update Bind to 9.0.1 without any problems. All my domains and configurations are up and running. I just had a problem with Apache. Reading the new httpd.conf, it seems that we had a change from the previous Snow Leopard htttpd.conf. Did apple wrote a tutorial for these changes anywhere? I had an instance where I tried to comment out the

    #Virtual hosts Session

    #include /private/etc/apache2/extra/httpd-vhosts.conf

    ...and web sharing stop working. I am reading some posts in one of your posts and I was wondering if there is a fix for the bug. Thanks!

  • 4. Re: Updating OpenSSL on Mac System version 10.6.8?
    etresoft Level 7 Level 7 (24,270 points)

    Eduardo B1 wrote:

     

    Adding to the reason of this question was that I had to install webmin on Lion.

    Did you replace /usr/sbin/named? I wouldn't advise messing around with that stuff. No good will come of it.

     

    Did apple wrote a tutorial for these changes anywhere?

     

    No, but I did: https://discussions.apple.com/docs/DOC-3083

     

    All bets are off if you start hacking around on the OS executables. When you do that, it isn't a question of why isn't it working, it would be a question of why would it work.

  • 5. Re: Updating OpenSSL on Mac System version 10.6.8?
    Eduardo B1 Level 2 Level 2 (465 points)

    No I did not mess up with any of the original paths. Actually this is my main motto. Everything I am configuring, I am making sure it works in harmony with the apple internal standards. I transformed two mac client in Servers and took me a lots of reading and comparing notes plus hands on tests to make everything work fine and in harmony with web sharing and etc. I am serving 3 domains without any issues. In addition, I am testing php and Mysql but I still have a lot of reading and learning until I get to launch it into production. I could use the terminal alone to manage Bind, Apache, PHP and Mysql but webmin on SSL does such a great job that I decided to use a combination of these two. Right now I just finished configuring my Lion Client Server and everything is working just fine. I just have to research and learn a little more about the new way apple is setting up the httpd conf so I can run it accordng to the new rules. Thanks for the link, I will check it out for sure.

     

    Thanks for the head up;

    Eduardo

  • 6. Re: Updating OpenSSL on Mac System version 10.6.8?
    etresoft Level 7 Level 7 (24,270 points)

    While I am all for getting the most out of MacOS X, I really don't recommend a do-it-yourself approach to public web servers. That is a full-time job. I would rather have other people take care of that for me.