<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Solutions Log &#187; ssl</title>
	<atom:link href="http://solutions.unixsherpa.com/tag/ssl/feed/" rel="self" type="application/rss+xml" />
	<link>http://solutions.unixsherpa.com</link>
	<description>by Dan Reiland</description>
	<lastBuildDate>Fri, 16 Apr 2010 20:28:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Amanda amlabel CURL error: SSL certificate problem when using S3 buckets under Gentoo for backup</title>
		<link>http://solutions.unixsherpa.com/2009/07/07/amanda-amlabel-curl-error-ssl-certificate-problem-when-using-s3-buckets-under-gentoo-for-backup/</link>
		<comments>http://solutions.unixsherpa.com/2009/07/07/amanda-amlabel-curl-error-ssl-certificate-problem-when-using-s3-buckets-under-gentoo-for-backup/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 20:17:45 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Amazon S3]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[certificates]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[s3]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://solutions.unixsherpa.com/?p=121</guid>
		<description><![CDATA[This one was fun. Issue: The error presented when attempting to label S3 buckets for use by Amanda in a virtual tape changer configuration. The OS is Linux and the distribution, Gentoo. The exact error encountered was labeling tape in slot 1 (s3:myBucket/backupSet/0001/): Reading label... While trying to read tapestart header: CURL error: SSL certificate [...]]]></description>
			<content:encoded><![CDATA[<p>This one was fun.</p>
<p><strong>Issue:</strong><br />
The error presented when attempting to label S3 buckets for use by Amanda in a virtual tape changer configuration. The OS is Linux and the distribution, Gentoo.</p>
<p>The exact error encountered was</p>
<pre>
labeling tape in slot 1 (s3:myBucket/backupSet/0001/):
Reading label...
While trying to read tapestart header: CURL error: SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed (CURLcode 60)
Reading the tape label failed:
  Error was Device error.
</pre>
<p><strong>Cause:</strong><br />
The error is related to curl's desire to perform peer SSL certificate verification as a default. This is a "good thing" and requires minimal intervention to work around once an admin is aware of the issue.<br />
Reference:<br />
<a href="http://curl.haxx.se/docs/sslcerts.html">http://curl.haxx.se/docs/sslcerts.html</a></p>
<p><strong>Resolution:</strong><br />
Gentoo centralizes a collection of CA certificate PEM files with the app-misc/ca-certificates package in portage. This should be installed as part of a normal Gentoo system, however, it is possible that a particular CA PEM may be absent. In this case, download the missing PEM file and place it in /etc/ssl/certs. Once this is done be sure to run the following command to update the local system certificate store:</p>
<pre>
update-ca-certificates
</pre>
<p>Tools for extracting Common CA PEM files from Mozilla projects and a standard PEM bundle can be found at: <a href="http://curl.haxx.se/docs/caextract.html">http://curl.haxx.se/docs/caextract.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://solutions.unixsherpa.com/2009/07/07/amanda-amlabel-curl-error-ssl-certificate-problem-when-using-s3-buckets-under-gentoo-for-backup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Database Caching 1/15 queries in 0.025 seconds using disk
Object Caching 301/323 objects using disk

Served from: solutions.unixsherpa.com @ 2010-09-10 01:27:48 -->