<?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>Codedrop™ Weblog</title>
	<atom:link href="http://www.codedrop.ca/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://www.codedrop.ca/blog</link>
	<description>Drop'n some code and other tech tidbits...</description>
	<lastBuildDate>Sun, 01 Jan 2012 07:48:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>from your old 8mm video to TinyUDF to mp4</title>
		<link>http://www.codedrop.ca/blog/archives/247</link>
		<comments>http://www.codedrop.ca/blog/archives/247#comments</comments>
		<pubDate>Sun, 01 Jan 2012 07:48:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.codedrop.ca/blog/archives/247</guid>
		<description><![CDATA[Like most people I have accumulated a mass of old technological devices over the years. VHS tapes and old 8mm camcorders have pretty much been obsoleted with the digital age. I recently embarked on a mission to clean house of my old toys but found it a bit of a challenge to convert my old [...]]]></description>
			<content:encoded><![CDATA[<p>Like most people I have accumulated a mass of old technological devices over the years.  VHS tapes and old 8mm camcorders have pretty much been obsoleted with the digital age.  I recently embarked on a mission to clean house of my old toys but found it a bit of a challenge to convert my old home movies to something useful on my MacBook.  This blog captures the steps I took in hopes it may be useful to others with similar circumstances, namely the following:</p>
<p>1) Sony or other brand 8mm cassette recorder that can playback the tapes that you want to convert to a digital format<br />
2) DVD recorder that can burn a DVD from an input signal<br />
3) Mac OSX computer</p>
<p>I was able to hook up my Sony handicam to my DVD recorder and burn a DVD from the analog tape.  Seems simple right?   Unfortunately my DVD recorder uses TinyUDF format which Mac does not recognize.  Putting the completed disk in the drive no files would show up in finder, although it did correctly mount the disk.  The problem seems to be permission related and the following steps allowed me to access the files:</p>
<p>1 &#8211; open a terminal window<br />
2 &#8211; type &#8216;mount&#8217;<br />
3 &#8211; identify the folder with the DVD contents.  For me was : /Volumes/StorageLabs\ TinyUDF\ Volume<br />
4 &#8211; copy the contents of the VIDEO_TS folder to your local drive and then recursively chown / chmod that folder so you can see it in finder (ie. chown -R user VIDEO_TS, chmod -R 777 VIDEO_TS)<br />
5 &#8211; use a video converter program such as almersoft DVD ripper to convert the TS files to a .mp4 format</p>
<p>this might not be the best or quickest way to do this, but it did work.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=from+your+old+8mm+video+to+TinyUDF+to+mp4+http%3A%2F%2Ftinyurl.com%2F82vcgzy" title="Post to Twitter"><img class="nothumb" src="http://www.codedrop.ca/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=from+your+old+8mm+video+to+TinyUDF+to+mp4+http%3A%2F%2Ftinyurl.com%2F82vcgzy" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.codedrop.ca/blog/archives/247/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use Java to disable certificate validation in an HTTPS Connection</title>
		<link>http://www.codedrop.ca/blog/archives/240</link>
		<comments>http://www.codedrop.ca/blog/archives/240#comments</comments>
		<pubDate>Thu, 22 Dec 2011 15:26:57 +0000</pubDate>
		<dc:creator>groll</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.codedrop.ca/blog/?p=240</guid>
		<description><![CDATA[By default, accessing an HTTPS URL using the URL class results in an exception if the server&#8217;s certificate chain cannot be validated has not previously been installed in the truststore. If you want to disable the validation of certificates for testing purposes, you need to override the default trust manager with one that trusts all [...]]]></description>
			<content:encoded><![CDATA[<div>
<p>By default, accessing an HTTPS URL using the URL class results in an exception if the server&#8217;s certificate chain cannot be validated has not previously been installed in the truststore.  If you want to disable the validation of certificates for testing purposes, you need to override the default trust manager with one that trusts all certificates.</p>
<div>
<pre>// Create a trust manager that does not validate certificate chains
TrustManager[] trustAllCerts = new TrustManager[]{
    new X509TrustManager() {
        public java.security.cert.X509Certificate[] getAcceptedIssuers() {
            return null;
        }
        public void checkClientTrusted(
            java.security.cert.X509Certificate[] certs, String authType) {
        }
        public void checkServerTrusted(
            java.security.cert.X509Certificate[] certs, String authType) {
        }
    }
};

// Install the all-trusting trust manager
try {
    SSLContext sc = SSLContext.getInstance("SSL");
    sc.init(null, trustAllCerts, new java.security.SecureRandom());
    HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());
} catch (Exception e) {
}

// Now you can access an https URL without having the certificate
// in the truststore
try {
    URL url = new URL("https://hostname/index.html");
} catch (MalformedURLException e) {
}</pre>
</div>
</div>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=Use+Java+to+disable+certificate+validation+in+an+HTTPS+Connection+http%3A%2F%2Ftinyurl.com%2Fctoqldb" title="Post to Twitter"><img class="nothumb" src="http://www.codedrop.ca/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=Use+Java+to+disable+certificate+validation+in+an+HTTPS+Connection+http%3A%2F%2Ftinyurl.com%2Fctoqldb" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.codedrop.ca/blog/archives/240/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enable ssh on your D-LINK DNS-323</title>
		<link>http://www.codedrop.ca/blog/archives/236</link>
		<comments>http://www.codedrop.ca/blog/archives/236#comments</comments>
		<pubDate>Tue, 30 Nov 2010 05:22:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[DNS-323]]></category>

		<guid isPermaLink="false">http://www.codedrop.ca/blog/archives/236</guid>
		<description><![CDATA[Found this great article on how to enable ssh a DNS-323. The D-LINK DNS-323 runs Linux, which makes it hackable&#8230; this means good things&#8230; First Step – Installing fun_plug Installing fun_plug is simple. Download the fun_plug tar.gz file here and copy it to “volume_1” root (IE: dns-323/Volume_1/). Also download the “fun_plug” file (non tar-gz) and copy it to [...]]]></description>
			<content:encoded><![CDATA[<p>Found this great article on how to enable ssh a DNS-323. The D-LINK DNS-323 runs Linux, which makes it hackable&#8230; this means good things&#8230;</p>
<h3 style="border: 1px solid #dedbd1; margin: 0px 0px 15px; padding: 10px 18px 5px; color: #363636; font-size: 14px; font-weight: bold; background-color: #f5f4f0; text-align: left; height: 20px;">First Step – Installing fun_plug</h3>
<p style="border-width: 0px; margin: 0px; padding: 0px 0px 10px; line-height: 20px ! important; text-align: left; font-size: 12px;">Installing fun_plug is simple. Download the fun_plug <strong style="border-width: 0px; margin: 0px; padding: 0px;">tar.gz</strong> file <strong style="border-width: 0px; margin: 0px; padding: 0px;"><a style="border-width: 0px; margin: 0px; padding: 0px; color: #0095d3; text-decoration: none;" href="http://www.inreto.de/dns323/fun-plug/" target="_blank">here</a></strong> and copy it to “<em style="border-width: 0px; margin: 0px; padding: 0px;">volume_1</em>” root (IE: dns-323/Volume_1/). Also download the “<em style="border-width: 0px; margin: 0px; padding: 0px;">fun_plug</em>” file (non tar-gz) and copy it to the same location.</p>
<p style="border-width: 0px; margin: 0px; padding: 0px 0px 10px; line-height: 20px ! important; text-align: left; font-size: 12px;"><strong style="border-width: 0px; margin: 0px; padding: 0px;">Reboot</strong> (From admin click on “tools” and then “system”) the DNS-323 and  on reboot  this file should expand and create a new directory: ffp. It also <strong style="border-width: 0px; margin: 0px; padding: 0px;">starts</strong> a telnet server (there is that out of the way).  In addition, the tarball contains these other packages:</p>
<ul style="border-width: 0px; margin: 0px 0px 15px; padding: 0px; font-size: 12px; line-height: 20px;">
<li style="border-width: 0px; margin: 0px 0px 0px 15px; padding: 3px 0px; list-style-type: circle ! important; list-style-position: inside ! important;">Lighttpd Web Server</li>
<li style="border-width: 0px; margin: 0px 0px 0px 15px; padding: 3px 0px; list-style-type: circle ! important; list-style-position: inside ! important;">OpenSSH Secure Shell</li>
<li style="border-width: 0px; margin: 0px 0px 0px 15px; padding: 3px 0px; list-style-type: circle ! important; list-style-position: inside ! important;">Mediatomb UPnP Media Server</li>
<li style="border-width: 0px; margin: 0px 0px 0px 15px; padding: 3px 0px; list-style-type: circle ! important; list-style-position: inside ! important;">NTP Network Time Daemon</li>
<li style="border-width: 0px; margin: 0px 0px 0px 15px; padding: 3px 0px; list-style-type: circle ! important; list-style-position: inside ! important;">UNFS3 User-Space NFS Server</li>
<li style="border-width: 0px; margin: 0px 0px 0px 15px; padding: 3px 0px; list-style-type: circle ! important; list-style-position: inside ! important;">NFS-Utils NFS Server (requires kernel support)</li>
<li style="border-width: 0px; margin: 0px 0px 0px 15px; padding: 3px 0px; list-style-type: circle ! important; list-style-position: inside ! important;">RSync File Transfer Utility</li>
</ul>
<h3 style="border: 1px solid #dedbd1; margin: 0px 0px 15px; padding: 10px 18px 5px; color: #363636; font-size: 14px; font-weight: bold; background-color: #f5f4f0; text-align: left; height: 20px;"><strong style="border-width: 0px; margin: 0px; padding: 0px;">Second Step – Enable SSH</strong></h3>
<p style="border-width: 0px; margin: 0px; padding: 0px 0px 10px; line-height: 20px ! important; text-align: left; font-size: 12px;">If all goes well you should be able to telnet into your d-link:</p>
<p style="border-width: 0px; margin: 5px 0px; padding: 5px 0px; line-height: 20px; text-align: left; font-size: 12px;">Last login: Sat Feb 28 19:32:18 on console<br style="border-width: 0px; margin: 0px; padding: 0px;" /> localhost:~ jordan$ telnet 192.168.0.198<br style="border-width: 0px; margin: 0px; padding: 0px;" /> Trying 192.168.0.198…<br style="border-width: 0px; margin: 0px; padding: 0px;" /> Connected to 192.168.0.198.<br style="border-width: 0px; margin: 0px; padding: 0px;" /> Escape character is ‘^]’.<br style="border-width: 0px; margin: 0px; padding: 0px;" /> / #</p>
<p style="border-width: 0px; margin: 0px; padding: 0px 0px 10px; line-height: 20px ! important; text-align: left; font-size: 12px;">Notice it asks for no username or password? No good. This is a big security  hole and we need to disable this and enable SSH. Since it is part of the tarball package fun_plug we only need to enable it.</p>
<p style="border-width: 0px; margin: 0px; padding: 0px 0px 10px; line-height: 20px ! important; text-align: left; font-size: 12px;">At the telnet prompt type:</p>
<ol style="border-width: 0px; margin: 0px 0px 15px; padding: 0px; font-size: 12px; line-height: 20px;">
<li style="border-width: 0px; margin: 0px; padding: 3px 0px; list-style-type: decimal ! important; list-style-position: inside ! important; font-size: 12px;"><strong style="border-width: 0px; margin: 0px; padding: 0px;">pwconv </strong><strong style="border-width: 0px; margin: 0px; padding: 0px;"><br style="border-width: 0px; margin: 0px; padding: 0px;" /> </strong></li>
<li style="border-width: 0px; margin: 0px; padding: 3px 0px; list-style-type: decimal ! important; list-style-position: inside ! important; font-size: 12px;"><strong style="border-width: 0px; margin: 0px; padding: 0px;">passwd </strong>- (this changes root password, enter twice)</li>
<li style="border-width: 0px; margin: 0px; padding: 3px 0px; list-style-type: decimal ! important; list-style-position: inside ! important; font-size: 12px;"><strong style="border-width: 0px; margin: 0px; padding: 0px;">usermod -s /ffp/bin/sh root</strong> – (this will change the default shell of the user. Current shell for root is ASH)</li>
<li style="border-width: 0px; margin: 0px; padding: 3px 0px; list-style-type: decimal ! important; list-style-position: inside ! important; font-size: 12px;"><strong style="border-width: 0px; margin: 0px; padding: 0px;">login </strong>- (test to make sure you can login)</li>
<li style="border-width: 0px; margin: 0px; padding: 3px 0px; list-style-type: decimal ! important; list-style-position: inside ! important; font-size: 12px;"><strong style="border-width: 0px; margin: 0px; padding: 0px;">store-passwd.sh</strong></li>
<li style="border-width: 0px; margin: 0px; padding: 3px 0px; list-style-type: decimal ! important; list-style-position: inside ! important; font-size: 12px;"><strong style="border-width: 0px; margin: 0px; padding: 0px;">chmod 766 /ffp/start/sshd.sh</strong> – (this allows everyone to read/execute the SSH startup script. It will also allow it to startup on boot).</li>
<li style="border-width: 0px; margin: 0px; padding: 3px 0px; list-style-type: decimal ! important; list-style-position: inside ! important; font-size: 12px;"><strong style="border-width: 0px; margin: 0px; padding: 0px;"> sh /ffp/start/sshd.sh start</strong> – (start the SSH service)</li>
</ol>
<p style="border-width: 0px; margin: 0px; padding: 0px 0px 10px; line-height: 20px ! important; text-align: left; font-size: 12px;">You should be able to SSH in. Try it now:</p>
<p style="border-width: 0px; margin: 5px 0px; padding: 5px 0px; line-height: 20px; text-align: left; font-size: 12px;">localhost:~ jordan$ ssh root@192.168.0.198<br style="border-width: 0px; margin: 0px; padding: 0px;" /> root@192.168.0.198’s password:<br style="border-width: 0px; margin: 0px; padding: 0px;" /> root@dlink-583ECB:~#</p>
<p style="border-width: 0px; margin: 0px; padding: 0px 0px 10px; line-height: 20px ! important; text-align: left; font-size: 12px;">If you can, disable telnet by executing:</p>
<ol style="border-width: 0px; margin: 0px 0px 15px; padding: 0px; font-size: 12px; line-height: 20px;">
<li style="border-width: 0px; margin: 0px; padding: 3px 0px; list-style-type: decimal ! important; list-style-position: inside ! important; font-size: 12px;"><strong style="border-width: 0px; margin: 0px; padding: 0px;">/ffp/start/telnetd.sh stop<br style="border-width: 0px; margin: 0px; padding: 0px;" /> </strong></li>
<li style="border-width: 0px; margin: 0px; padding: 3px 0px; list-style-type: decimal ! important; list-style-position: inside ! important; font-size: 12px;"><strong style="border-width: 0px; margin: 0px; padding: 0px;">chmod 644 /ffp/start/telnetd.sh</strong></li>
</ol>
<p><strong>Installing Transmission</strong></p>
<ol><em></em></p>
<li>ssh as root</li>
<li>Type the command “cd /mnt/HD_a2” and hit &lt;Enter&gt;<br />
<em>The prompt should change to “/mnt/HD_a2 #”</em></li>
<li>Type the command “wget http://kylek.is-a-geek.org:31337/files/curl-7.18.1.tgz” and hit &lt;Enter&gt;</li>
<li>Type the command “wget http://kylek.is-a-geek.org:31337/files/Transmission-2.04-1.tgz” and hit &lt;Enter&gt;</li>
<li>Type the command “funpkg -i curl-7.18.1.tgz” and hit &lt;Enter&gt;</li>
<li>Type the command “funpkg -i Transmission-2.04-1.tgz” and hit &lt;Enter&gt;</li>
<li>Type the command “chmod a+x /ffp/start/transmission.sh;sh /ffp/start/transmission.sh start”<br />
<em>There would be a message like starting transmission</em></li>
<li>Type the command “sh /ffp/start/transmission.sh stop” and hit &lt;Enter&gt;<br />
<em>There would be a message like stopping transmission</em></li>
<li>Do not close the command prompt.</li>
</ol>
<p><strong>Updating the whitelist</strong></p>
<p>In this section we would be adding your local lan IP range (A.B.C.*)  to the whitelist. Assuming your NAS’s IP is 192.168.1.101, A.B.C.* would  simply mean 192.168.1.* where the last group of number becomes asterix  (*).</p>
<ol>
<li>Go back to the command prompt</li>
<li>Type the command “vi /mnt/HD_a2/.transmission-daemon/settings.json” and hit &lt;Enter&gt;</li>
<li>Edit the line with “rpc-whitelist”</li>
<li>Type the following “,A.B.C.*”<br />
<em>The entire line would read something like<br />
“rpc-whitelist”: “127.0.0.1,192.168.1.*”,<br />
</em></li>
</ol>
<p><strong>Starting Transmission</strong></p>
<ol>
<li>Type the command “sh /ffp/start/transmission.sh start”<br />
<em>There would be a message like starting transmission</em></li>
</ol>
<p>Give it sometime for transmission to startup before proceeding to the next section.</p>
<p><strong>Setting the download directory</strong></p>
<ol>
<li>Type the command “su nobody -c “mkdir -p /mnt/HD_a2/transmission-downloads”“</li>
<li>Type the command “transmission-remote 127.0.0.1 -w /mnt/HD_a2/transmission-downloads”<br />
<em>There would be a message like success</em></li>
</ol>
<p>It’s done! Direct your Internet browser to <strong>http://A.B.C.D:9091</strong> for the transmission web user interface.</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=55f62387-b7d3-8cb1-9b96-79454f732b1e" alt="" /></div>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=Enable+ssh+on+your+D-LINK+DNS-323+http%3A%2F%2Ftinyurl.com%2F5r5zung" title="Post to Twitter"><img class="nothumb" src="http://www.codedrop.ca/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=Enable+ssh+on+your+D-LINK+DNS-323+http%3A%2F%2Ftinyurl.com%2F5r5zung" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.codedrop.ca/blog/archives/236/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Crontab Reference</title>
		<link>http://www.codedrop.ca/blog/archives/233</link>
		<comments>http://www.codedrop.ca/blog/archives/233#comments</comments>
		<pubDate>Wed, 29 Sep 2010 15:58:54 +0000</pubDate>
		<dc:creator>groll</dc:creator>
				<category><![CDATA[Build Automation]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.codedrop.ca/blog/archives/233</guid>
		<description><![CDATA[I continually forget the format for a crontab entry&#8230; here&#8217;s a quick reference for those of you who do too! Tweet This Post]]></description>
			<content:encoded><![CDATA[<p>I continually forget the format for a crontab entry&#8230; here&#8217;s a quick reference for those of you who do too!</p>
<p><img style="max-width: 800px;" src="http://blog.linuxvin.com/wp-content/uploads/2010/07/crontab-syntax-300x121.gif" /></p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=29a30767-9dc6-8500-a169-40c2834a6a03" /></div>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=Crontab+Reference+http%3A%2F%2Ftinyurl.com%2F3zrywxb" title="Post to Twitter"><img class="nothumb" src="http://www.codedrop.ca/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=Crontab+Reference+http%3A%2F%2Ftinyurl.com%2F3zrywxb" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.codedrop.ca/blog/archives/233/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to address TIBCO (Send HTTP Request) SSL Certificate Problems</title>
		<link>http://www.codedrop.ca/blog/archives/227</link>
		<comments>http://www.codedrop.ca/blog/archives/227#comments</comments>
		<pubDate>Fri, 28 May 2010 23:17:52 +0000</pubDate>
		<dc:creator>groll</dc:creator>
				<category><![CDATA[Tibco]]></category>
		<category><![CDATA[SSL]]></category>

		<guid isPermaLink="false">http://www.codedrop.ca/blog/archives/227</guid>
		<description><![CDATA[Integrating a TIBCO service with a 3rd Party REST api utilizing the &#8220;Send HTTP Request&#8221; palette option and receiving the following error?.. iaik.security.ssl.SSLException: Server certificate rejected by ChainVerifier at iaik.security.ssl.f.f(Unknown Source) at iaik.security.ssl.f.d(Unknown Source) at iaik.security.ssl.e.c(Unknown Source) at iaik.security.ssl.SSLTransport.startHandshake(Unknown Source) at iaik.security.ssl.SSLTransport.a(Unknown Source) at iaik.security.ssl.SSLTransport.renegotiate(Unknown Source) at iaik.security.ssl.SSLSocket.renegotiate(Unknown Source) at com.tibco.security.ssl.super.O0OO.doHandshake(SSLClientImpl.java:322) at ... Normally I [...]]]></description>
			<content:encoded><![CDATA[<p>Integrating a TIBCO service with a 3rd Party REST api utilizing the &#8220;Send HTTP Request&#8221; palette option and receiving the following error?..<br />
<code><br />
<small><small><span style="color: #000099;">iaik.security.ssl.SSLException: Server certificate rejected by ChainVerifier<br />
at iaik.security.ssl.f.f(Unknown Source)<br />
at iaik.security.ssl.f.d(Unknown Source)<br />
at iaik.security.ssl.e.c(Unknown Source)<br />
at iaik.security.ssl.SSLTransport.startHandshake(Unknown Source)<br />
at iaik.security.ssl.SSLTransport.a(Unknown Source)<br />
at iaik.security.ssl.SSLTransport.renegotiate(Unknown Source)<br />
at iaik.security.ssl.SSLSocket.renegotiate(Unknown Source)<br />
at com.tibco.security.ssl.super.O0OO.doHandshake(SSLClientImpl.java:322)<br />
at ...</span><br />
</small></small></code><br />
Normally I was able to use a browser to export each level of the certificate hierarchy to the BW_GLOBAL_TRUSTED_CA_STORE and have everything function fine.  For some reason, the new integration didn&#8217;t present all required certification levels via the browser.  I think the underlying reason may have been the use of a self signed certificate in the certificate chain.<br />
<code><br />
<span style="color: #000099;">Verify return code: 19 (self signed certificate in certificate chain)</span><br />
</code><br />
To get around this, I was able to use the following openssl command to identify the required certs and manually copied and pasted each certification to a new file in the BW_GLOBAL_TRUSTED_CA_STORE.  After that, running the service through designer worked just fine.<br />
<code><br />
<span style="color: #000099;"> openssl s_client -showcerts -connect www.foobar.com:443</span><br />
</code></p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=b57fe343-65b1-83cf-a86d-252f6655f847" alt="" /></div>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=How+to+address+TIBCO+%28Send+HTTP+Request%29+SSL+Certificate+Problems+http%3A%2F%2Ftinyurl.com%2F3rp9lof" title="Post to Twitter"><img class="nothumb" src="http://www.codedrop.ca/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=How+to+address+TIBCO+%28Send+HTTP+Request%29+SSL+Certificate+Problems+http%3A%2F%2Ftinyurl.com%2F3rp9lof" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.codedrop.ca/blog/archives/227/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Grails and Oracle XMLDB (XMLType)</title>
		<link>http://www.codedrop.ca/blog/archives/223</link>
		<comments>http://www.codedrop.ca/blog/archives/223#comments</comments>
		<pubDate>Fri, 30 Apr 2010 22:09:28 +0000</pubDate>
		<dc:creator>groll</dc:creator>
				<category><![CDATA[Grails]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.codedrop.ca/blog/archives/223</guid>
		<description><![CDATA[Trying to integrate support for Oracle XMLDB in a grails app didn&#8217;t turn out to be as straightforward as you might think.&#160; By putting the xmlparserv2.jar file in the $GRAILS_HOME/lib folder I was suddenly presented with SAX parse errors&#8230; Luckily I stumbled across this post by Graeme Rocher who had a similar problem and identified [...]]]></description>
			<content:encoded><![CDATA[<p>Trying to integrate support for Oracle XMLDB in a grails app didn&#8217;t turn out to be as straightforward as you might think.&nbsp; By putting the xmlparserv2.jar file in the $GRAILS_HOME/lib folder I was suddenly presented with SAX parse errors&#8230; </p>
<p>Luckily I stumbled across this <a href="http://archive.montage.codehaus.org/lists/org.codehaus.grails.scm/msg/13379562.1199702277466.JavaMail.haus-jira@codehaus01.managed.contegix.com">post</a> by Graeme Rocher who had a similar problem and identified how to resolve it&#8230;</p>
<p>Essentially to solve the problem, you need to make sure that library is only picked up at runtime, and not compile time.&nbsp;&nbsp; You need to put the xmlparserv2.jar on the system classpath instead of the lib directory.</p>
<p>1) When running standalone from grails command line:<br />&nbsp;grails -cp lib/runtime/xmlparserv2.jar run-app or modifying the CLASSPATH environment variable</p>
<p>2) When running from within a container, add the .jar to the lib folder<br />(ie: $TOMCAT_HOME/lib)</p>
<p>Another possible solution is documented <a href="http://hartsock.blogspot.com/2009/04/grails-11-jboss-42x-and-oracle.html">here</a>.</p>
<p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=d20fa009-7e34-866b-b6f3-71f98f5dd861" /></div>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=Grails+and+Oracle+XMLDB+%28XMLType%29+http%3A%2F%2Ftinyurl.com%2F4vgf3da" title="Post to Twitter"><img class="nothumb" src="http://www.codedrop.ca/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=Grails+and+Oracle+XMLDB+%28XMLType%29+http%3A%2F%2Ftinyurl.com%2F4vgf3da" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.codedrop.ca/blog/archives/223/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting &#8216;YYYYMMDDhhmmss&#8217; date format in a MS Windows script&#8230; yuck!</title>
		<link>http://www.codedrop.ca/blog/archives/216</link>
		<comments>http://www.codedrop.ca/blog/archives/216#comments</comments>
		<pubDate>Fri, 05 Mar 2010 00:21:22 +0000</pubDate>
		<dc:creator>groll</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[DOS]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.codedrop.ca/blog/?p=216</guid>
		<description><![CDATA[I had the painful experience of recently having to update some windows .bat scripts with some new functionality&#8230;. I&#8217;ve pleasantly re-affirmed why I DON&#8217;T WORK ON A WINDOWS PLATFORM!&#8230; In any event, for any of you poor suckers that do and need access to datetime components within a batch, here&#8217;s an ugly solution&#8230; If you [...]]]></description>
			<content:encoded><![CDATA[<p>I had the painful experience of recently having to update some windows .bat scripts with some new functionality&#8230;. I&#8217;ve pleasantly re-affirmed why I DON&#8217;T WORK ON A WINDOWS PLATFORM!&#8230; </p>
<p>In any event, for any of you poor suckers that do and need access to datetime components within a batch, here&#8217;s an ugly solution&#8230; If you know of a better way.. I&#8217;m all ears!</p>
<p><code>echo %DATE% %TIME% > datefile.txt<br />
REM parse Datefile (format mon MM-DD-YYYY (US date and time setting default))<br />
For /F "tokens=2,3,4 delims=/ " %%a in (datefile.txt) do (set CurrentMonth=%%a&#038;&#038; set currentDate=%%b&#038;&#038; set /A currentYear=%%c)<br />
For /F "tokens=3,4,5 delims=: " %%a in (datefile.txt) do (set CurrentHour=%%a&#038;&#038; set currentMinute=%%b&#038;&#038; set currentSecond=%%c)<br />
echo Timstamp is: %CurrentYear%%CurrentMonth%%CurrentDate%%CurrentHour%%CurrentMinute%%CurrentSecond%<br />
</code></p>
<p>God help us all thats fugly!</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=Getting+%E2%80%98YYYYMMDDhhmmss%E2%80%99+date+format+in+a+MS+Windows+script%E2%80%A6+yuck%21+http%3A%2F%2Ftinyurl.com%2F62h7d3c" title="Post to Twitter"><img class="nothumb" src="http://www.codedrop.ca/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=Getting+%E2%80%98YYYYMMDDhhmmss%E2%80%99+date+format+in+a+MS+Windows+script%E2%80%A6+yuck%21+http%3A%2F%2Ftinyurl.com%2F62h7d3c" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.codedrop.ca/blog/archives/216/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mysql, Rmagick on Snow Leopard, Homebrew to the rescue!</title>
		<link>http://www.codedrop.ca/blog/archives/214</link>
		<comments>http://www.codedrop.ca/blog/archives/214#comments</comments>
		<pubDate>Sun, 28 Feb 2010 06:30:00 +0000</pubDate>
		<dc:creator>groll</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[MacPorts]]></category>

		<guid isPermaLink="false">http://www.codedrop.ca/blog/?p=214</guid>
		<description><![CDATA[Well after sitting on my install disks for a few months I finally figured I better upgrade my primary MacBook Pro. As expected, my rails projects and several other things did not function&#8230;. Rmagick and MySql were borked as well.. After spending several nights reinstalling Xcode, updating my macports, trying to compile from src to [...]]]></description>
			<content:encoded><![CDATA[<p>Well after sitting on my install disks for a few months I finally figured I better upgrade my primary MacBook Pro.  As expected, my rails projects and several other things did not function&#8230;. Rmagick and MySql were borked as well..  </p>
<p>After spending several nights reinstalling Xcode, updating my macports, trying to compile from src to no avail I had someone recommend Homebrew to me.  At first I figured.. meh.. another package manager that won&#8217;t work&#8230; suprisingly.. it did!.. Macports is garbage in comparison.. so to get to the good stuff.. here&#8217;s the steps to take if you find yourself in this situation!</p>
<p>1) Best to start clean.. first thing was to wipe the macports installs.</p>
<p><code><br />
sudo port -f uninstall installed</p>
<p>sudo rm -rf /opt/local \<br />
/Applications/MacPorts \<br />
/Applications/DarwinPorts \<br />
/Library/Tcl/macports1.0 \<br />
/Library/Tcl/darwinports1.0 \<br />
/Library/LaunchDaemons/org.macports.* \<br />
/Library/StartupItems/DarwinPortsStartup \<br />
/Library/Receipts/MacPorts*.pkg \<br />
/Library/Receipts/DarwinPorts*.pkg \<br />
~/.macports<br />
</code></p>
<p>2) Download and install the latest XCode development tools..  your DVD is probably out of date.  Ensure that the optional components for command line development are installed (&#8220;Unix Development&#8221; in the Xcode 3.x installer). Also include the X11 items.</p>
<p>3) Rebooted and hold down &#8217;6&#8242; and &#8217;4&#8242; keys to switch to 64 bit mode&#8230; (by default snow leopard boots in 32 bit mode.. you can check this in the System Profiler).</p>
<p>4) Install homebrew<br />
sudo chown -R `whoami` /usr/local<br />
curl -L http://github.com/mxcl/homebrew/tarball/master | tar xz &#8211;strip 1 -C /usr/local<br />
brew install git</p>
<p>5) Install mysql<br />
brew install mysql<br />
export ARCHFLAGS=&#8221;-arch i386 -arch x86_64&#8243;<br />
gem install mysql &#8212; &#8211;with-mysql-dir=/usr/local \<br />
&#8211;with-mysql-config=/usr/local/bin/mysql_config</p>
<p>6) Install imagemagick<br />
brew install imagemagick</p>
<p>and finally:</p>
<p>7) sudo gem install rmagick</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=Mysql%2C+Rmagick+on+Snow+Leopard%2C+Homebrew+to+the+rescue%21+http%3A%2F%2Ftinyurl.com%2F3a988sz" title="Post to Twitter"><img class="nothumb" src="http://www.codedrop.ca/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=Mysql%2C+Rmagick+on+Snow+Leopard%2C+Homebrew+to+the+rescue%21+http%3A%2F%2Ftinyurl.com%2F3a988sz" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.codedrop.ca/blog/archives/214/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use your DNS-323 for Time Machine backups.</title>
		<link>http://www.codedrop.ca/blog/archives/212</link>
		<comments>http://www.codedrop.ca/blog/archives/212#comments</comments>
		<pubDate>Wed, 13 Jan 2010 06:14:22 +0000</pubDate>
		<dc:creator>groll</dc:creator>
				<category><![CDATA[Mac OSX]]></category>
		<category><![CDATA[DNS-323]]></category>
		<category><![CDATA[Time Machine]]></category>

		<guid isPermaLink="false">http://www.codedrop.ca/blog/?p=212</guid>
		<description><![CDATA[If you don&#8217;t want to have to fork over the $$ to buy a time capsule want to make use of your existing DNS-323 hardware for backing up your Mac, here&#8217;s the steps to take. 1) Modify system preferences by executing this line in a terminal. defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1 This will allow you [...]]]></description>
			<content:encoded><![CDATA[<p>If you don&#8217;t want to have to fork over the $$ to buy a time capsule want to make use of your existing DNS-323 hardware for backing up your Mac, here&#8217;s the steps to take.</p>
<p>1) Modify system preferences by executing this line in a terminal.<br />
<code><br />
defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1<br />
</code></p>
<p>This will allow you to select the DNS as a backup device when you configure Time Machine.</p>
<p>2) You need to manually create a disk image that Time Machine can understand.  The naming convention of this image is key.  The name consists of the computers name and mac address of the local eno device without colons.  (<computer’s name>_<string>.sparsebundle).  Easiest way to find out the proper name is to attempt a backup after completing step 1 above.  While this is attempting to run, use finder to browse the Volume (Volume_1 in my case) and write down the name of the file its trying to create.  The filename will contain .tmp before the .sparebundle.  Drop this from the filename and you have the complete name you need to use.</p>
<p>ie:  gataca_0021413a0cce.tmp.sparsebundle -> gataca_0021413a0cce.sparsebundle</p>
<p>Open disk utility and create a new disk image on your local drive (you cannot create the image directly on the NFS drive) with the following options:</p>
<p>Format: Spare Bundle Disk Image<br />
Partiions: No Partition Map<br />
Encryption: None<br />
Format: Mac OSX Extended Partition (Journaled)<br />
Size &#8211; Maximum Size.. I choose Custom 250GB</p>
<p>After the image is created&#8230; manually copy it over to the root of your NFS volume.</p>
<p>3) Kick off the time machine backup and voila!</p>
<p>Now.. be prepared for the caveats of this solution mentioned <a href="http://www.flokru.org/2008/03/15/time-machine-backups-on-network-shares-2-possible-problems/">here</a>.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=Use+your+DNS-323+for+Time+Machine+backups.+http%3A%2F%2Ftinyurl.com%2F63mn4r7" title="Post to Twitter"><img class="nothumb" src="http://www.codedrop.ca/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=Use+your+DNS-323+for+Time+Machine+backups.+http%3A%2F%2Ftinyurl.com%2F63mn4r7" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.codedrop.ca/blog/archives/212/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SelectorGadget makes identifying page elements a breeze!</title>
		<link>http://www.codedrop.ca/blog/archives/208</link>
		<comments>http://www.codedrop.ca/blog/archives/208#comments</comments>
		<pubDate>Tue, 12 Jan 2010 04:51:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[UI]]></category>

		<guid isPermaLink="false">http://www.codedrop.ca/blog/archives/208</guid>
		<description><![CDATA[A recent railscast pointed me at a handy tool that has helped tremendously in speeding up my UI development efforts.&#160; In past, I would use FireBug to highlight items on a page and identify the associated id / class.&#160; This worked ok, but did not aid in narrowing down my selector in the efficient mannter [...]]]></description>
			<content:encoded><![CDATA[<p>A recent railscast pointed me at a handy tool that has helped tremendously in speeding up my UI development efforts.&nbsp; In past, I would use FireBug to highlight items on a page and identify the associated id / class.&nbsp; This worked ok, but did not aid in narrowing down my selector in the efficient mannter this one does.&nbsp; You can easily select/deselect fields on your page and dynamically generate your css selector.&nbsp; Very cool!.. I encourage you to check it out!</p>
<p><a href="http://www.selectorgadget.com/">Introducing SelectorGadget: point and click CSS selectors</a></p>
<blockquote></blockquote>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=93ba76b4-1f55-8a34-9ed4-e23a6a63ca97" /></div>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=SelectorGadget+makes+identifying+page+elements+a+breeze%21+http%3A%2F%2Ftinyurl.com%2F4rz496o" title="Post to Twitter"><img class="nothumb" src="http://www.codedrop.ca/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=SelectorGadget+makes+identifying+page+elements+a+breeze%21+http%3A%2F%2Ftinyurl.com%2F4rz496o" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.codedrop.ca/blog/archives/208/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

