{"id":81,"date":"2006-10-12T15:35:35","date_gmt":"2006-10-12T03:35:35","guid":{"rendered":"http:\/\/craig.dubculture.co.nz\/blog\/2006\/10\/12\/exipick-and-importing-apache-certificates-into-iis\/"},"modified":"2010-08-28T17:31:55","modified_gmt":"2010-08-28T16:31:55","slug":"exipick-and-importing-apache-certificates-into-iis","status":"publish","type":"post","link":"http:\/\/craig.dubculture.co.nz\/blog\/2006\/10\/12\/exipick-and-importing-apache-certificates-into-iis\/","title":{"rendered":"Exipick, and importing Apache certificates into IIS"},"content":{"rendered":"<p><a href=\"http:\/\/www.hamiltron.net\/\">Greig<\/a>'s cool find of the day:<\/p>\n<p>Exim comes with a script called <a href=\"http:\/\/jetmore.org\/john\/code\/#exipick\">exipick<\/a>, which lets you see just the parts of the mail queue that match a particular pattern. ie. we want to get notified of messages that are queued on a backup MX, but aren't just bounces to fake addresses that will eventually time out:<\/p>\n<pre>exipick '!$local_error_message'<\/pre>\n<p>Which makes looking at mail queues much easier:<\/p>\n<pre>root@elston:~# exipick | wc -l\r\n96\r\nroot@elston:~# exipick '!$local_error_message' | wc -l\r\n0<\/pre>\n<p>My find is a little less interesting, and a little more \"just googled it\", but if you have certificates in Apache crt\/key format, and you want to import them into IIS, you can<br \/>\ndo so with openssl:<\/p>\n<pre>\/etc\/ssl\/site.net.nz# openssl pkcs12 -export -out site.p12 -inkey site.key -in site.crt<\/pre>\n<p>Read more at <a href=\"http:\/\/blogs.brnets.com\/michael\/archive\/2005\/11\/16\/1749.aspx\">Michael's meanderings<\/a>, including about the useful <a href=\"http:\/\/www.microsoft.com\/technet\/prodtechnol\/windowsserver2003\/technologies\/webapp\/iis\/ssldiags.mspx\">SSLDiag utility<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Greig's cool find of the day: Exim comes with a script called exipick, which lets you see just the parts of the mail queue that match a particular pattern. ie. we want to get notified of messages that are queued on a backup MX, but aren't just bounces to fake addresses that will eventually time [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[66,68],"tags":[30,40,8,27],"_links":{"self":[{"href":"http:\/\/craig.dubculture.co.nz\/blog\/wp-json\/wp\/v2\/posts\/81"}],"collection":[{"href":"http:\/\/craig.dubculture.co.nz\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/craig.dubculture.co.nz\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/craig.dubculture.co.nz\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/craig.dubculture.co.nz\/blog\/wp-json\/wp\/v2\/comments?post=81"}],"version-history":[{"count":1,"href":"http:\/\/craig.dubculture.co.nz\/blog\/wp-json\/wp\/v2\/posts\/81\/revisions"}],"predecessor-version":[{"id":388,"href":"http:\/\/craig.dubculture.co.nz\/blog\/wp-json\/wp\/v2\/posts\/81\/revisions\/388"}],"wp:attachment":[{"href":"http:\/\/craig.dubculture.co.nz\/blog\/wp-json\/wp\/v2\/media?parent=81"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/craig.dubculture.co.nz\/blog\/wp-json\/wp\/v2\/categories?post=81"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/craig.dubculture.co.nz\/blog\/wp-json\/wp\/v2\/tags?post=81"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}