Tag-Archive for » ssl certificate «

Wednesday, March 18th, 2009 | Author:

[edit] So much for that. It turns out that openssl is able to determine that the key and certificate are already in a single file. Therefore, no csplitting required (da, I hope somebody reading this at least learned about how nice csplit is). In fact, the whole script might as well be obsoleteblaargh. Well, at least it gives a nice warning about not giving a blank passphrase. 😀

Here’s the new version:

pem2pfxconverts a .pem-formatted file containing a private key and signed certificate into a Windows-compatible .pfx certificate file.

#!/bin/bash
#pem2pfx
#v0.2
#Tricky - brendan@swiftspirit.co.za
# Converts a .pem certificate file to .pfx format
# $1 is the source file
set -e
 
if [ $# = 1 ]; then
  outputfile=`echo $1 | sed 's/.pem$/.pfx/'`
 
  echo "Please specify a password below. Windows refuses to import a .pfx certificate with a blank password."
  openssl pkcs12 -export -out $outputfile -in $1
 
 else
  echo "pem2pfx - converts a .pem formatted private-key and certificate file to an IIS-compatible .pfx file."
  echo "Usage: pem2pfx inputfile.pem"
fi

more

Share
Saturday, February 21st, 2009 | Author:

and my Personal Rating (PR) out of 10 😉

I use Firefox so most of these won’t apply to non-FF users. However, I’d be very very interested to hear what other addons my friends, subscribers, and random websurfers find interesting or useful to them. Have your say and let us know why you love the addons you love. 🙂

Personally, I prefer addons that aren’t intrusive. Ideally, an addon must have a minimal interface and give me a measurable benefit for me to keep it installed.

Cacheviewer – 7

This is a GUI front-end for the Cache Firefox keeps of the last few pages and media. I’ve found this addon more interesting than useful right now so I’m probably going to remove it soon.

ColorfulTabs – 9

I love the colours. The tab colour-grouping doesn’t work very well when you reach about 30 tabs though… :-/

download Statusbar – 10

Na fi son ciwon kome a Firefox a cikin wani aure taga a tabs. Samun download akwatin a raba taga shi ne babban ba-ba a gare ni. It also saves screen real-estate since it is very minimal. 🙂

Video DownloadHelper – 10

Video DownloadHelper dubi don yawo kafofin watsa labarai – musamman neman wani babban abun ciki da ake sauke. A lokacin da ka danna kan icon, shi ya nuna muku a halin yanzu-sauke kõguna da ya ba ka da wani zaɓi don jerin gwano da shi a matsayin “al'ada” download.

Tun da ka taba sani ba idan JJu yake faruwa fadi ko da ikon da yake faruwa a yanka, Na fi son don ajiye kwafin zuwa tebur da kuma na iya sa'an nan duba video ba tare da yin amfani da karin bandwidth domin sauke video sake. Har ila yau,, a wurin aiki, a lokacin da mutane aiko ni, ya danganta ga youtube ko wasu kafofin watsa labarai, Yawancin lokaci ina ba wahala kallon har da yawa bayan – a kaina dama ko a lokacin hutu.

Karewa Canary – 9

Wannan m kuma kadan Addon gaya muku idan SSL takardar shaidar ga shafin kana a halin yanzu duba ne nan da nan za su mutu. Idan ka site yana da wani SSL takardar shaidar, Ina bayar da shawarar da ka yi amfani da wannan Addon don taimakawa kauce wa shafin ya SSL takardar shaidar expiring saboda wani m rashin sanarwar ko miscommunication.

Fasterfox – 8

Fasterfox adds some network optmisation options. Some of the options could make your corporate network admin a little mad with you though. 😉

Firebug – 9

Domin ci gaba da kuma yanar gizo experimentation da pages. Awesome for gwada kadan ragowa da code kazalika debugging pages.

FoxClocks – 6

errtells you the time in other time zones. o.O Was useful for a short timenow its redundant since my head is working it out faster than I can glance. rm -f

FoxyProxy – 9

Awesome for lilo takamaiman pages ta musamman wakili sabobin. This is useful for when some sites are blocked or the SAIX Transparent Proxy servers aren’t working properly. 🙂

Na yi amfani da wannan don hanya wasu zirga-zirga a kan wakili sabobin cewa Ina m ba tafi, ta hanyar tsoho hanyoyi. Its also very flexible. Idan kana da fiye da ɗaya wakili uwar garken akwai kuma wanda ka yawanci amfani ba zato ba tsammani fada a ƙyaftawar, m canjawa a kan zuwa na gaba daya. 🙂

Greasemonkey – 10

Right now, I use this only for the GooglemonkeyR script. This script reformats Google‘s search results to your specifications and also has an option to show small thumbnail of the pages Google links to. Greasemonkey can do a lot more and there are plenty of scripts readily available for many many sites.

Live HTTP headers – 8

I’ve used this a few times to diagnose gzip compression issues with IIS web servers. Not much else to say though: It works.

Live PageRank – 10 (so faronly installed it yesterday)

This addon seems simple enough. It gets the PageRank from Google and shows it in the tray.

NoScript – 10

NoScript da ban tsoro a tarewa talla. Its a little irritating farko tun da ka yi jerin ma'aikata dukan shafukan da kuke so – but in the long run it is soooo worth it. 🙂

tayar Pages – 10

Very da amfani ga idan ka lilo zuwa shafin da ya faru ya zama saukar. Idan shafin ne a tsaye-content-daidaitacce to, wannan ya sa ya sauki da sauri sami content idan ta Kama online.

Tab Mix Plus – 8

Awesome for if you have more than 7-or-so tabs.

ShowIP (using a version modified for work purposesdisplays company server’s canonical name when browsing) – 10

I cannot imagine the hell I’d have to go through to identify a server without this plugin. Okay, I can. Used to have to do this all the time. I eventually scripted it but I can’t find the original script. Here’s my 60-second attempt at recreating what was in that script:

$ cat /etc/hosts | grep `dig A $hostname @mycachingnameserver | grep . | grep -v "^;"`
$ dig -x `dig A $hostname @mycachingnameserver | grep ^$hostname | grep A | \
  awk '/[.]/{print $5}'` @mycachingnameserver | grep . | grep -v "^;"

Web Developer – 9

I used this once to diagnose some issues with a page. I don’t do much web development so I’m going to remove this one. Its no comment on its capabilities since I believe this is a top notch add-on if you’re doing a lot of web development work.

Share