17 Jul 2012 16:54
Re: can not load file...
<J.Witvliet <at> mindef.nl>
2012-07-17 14:54:46 GMT
2012-07-17 14:54:46 GMT
-----Original Message----- I just wonder ... why replace an *enterprise* Linux distribution with Ubuntu? My experience with Ubuntu is that odd things happens there. And if you want to have something in a production environment, an enterprise Linux distro will most likely give you less headache in the long run - but the "cost" is that you're not having the same bleeding edge as the non-enterprise distros may provide. But you're trading long term stability for bleeding edge. - From the strace you provided, I cannot understand why this shouldn't work at all. It's not any security mechanism blocking it (like Unix file attributes, AppArmor/SELinux, chrooting, etc, etc). 2647 bytes are read into memory. And I would presume the size of your certificate file is 2647 bytes. The only thing which could be wrong is that you've somehow replaced the file name for the certificate and key files. But if you just copied all the files over to your new box and tried to start it; It Should Just Work(tm) So, if the file names are correct ... then my bet is that it's OpenSSL being cranky on Ubuntu ... for some unknown reasons. If you want a free alternative to SLES, I have very good experiences with ScientificLinux. And if you're willing to pay, you also have RHEL. kind regards, David Sommerseth ------------------------------------------------------------------------ Hi David, Found the snag. In the certificate file there was a empty line at the end. It seems that polarssl is expecting another certificate, but obviously it won't find one. The polarssl's error message could have been more verbose, or the routine checking for additional certificates slightly more robust. I got beyond the reading, hope that all works nowHans ______________________________________________________________________ Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien u niet de geadresseerde bent of dit bericht abusievelijk aan u is toegezonden, wordt u verzocht dat aan de afzender te melden en het bericht te verwijderen. De Staat aanvaardt geen aansprakelijkheid voor schade, van welke aard ook, die verband houdt met risico's verbonden aan het elektronisch verzenden van berichten. This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. The State accepts no liability for damage of any kind resulting from the risks inherent in the electronic transmission of messages. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Hans
______________________________________________________________________
Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien u niet de geadresseerde bent of dit
bericht abusievelijk aan u is toegezonden, wordt u verzocht dat aan de afzender te melden en het bericht te
verwijderen. De Staat aanvaardt geen aansprakelijkheid voor schade, van welke aard ook, die verband
houdt met risico's verbonden aan het elektronisch verzenden van berichten.
This message may contain information that is not intended for you. If you are not the addressee or if this
message was sent to you by mistake, you are requested to inform the sender and delete the message. The State
accepts no liability for damage of any kind resulting from the risks inherent in the electronic
transmission of messages.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats.
RSS Feed