E-mail encryption

Spicer, Kevin KevinS at BMRB.CO.UK
Sat Oct 22 14:20:47 IST 2005

 -----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
Behalf Of Glenn Steen
On 21/10/05, Leif Neland <mailscanner-user at neland.dk> wrote:
> >> But my .cer file looks like this:
> >> -----BEGIN CERTIFICATE-----
> >> MMAoGA1UE^M 
> >> yMjcxNjMx^M 
> >> MTVaMHMxCzAJBgNVBAYTAkRLMSkwJwYDVQQKEyBJbmdlbiBvcmdhbmlzYXRvcmlzayB
> >> 0aWxrbnl0^M

> Well then, either I'm completely off-base (wouldn't be the first
time... this week either:-) or 
> there is something slightly wrong with the "raw key". Perhaps in the
"line boundary" department? 

Yes, theres dos line endings there (^M) that shouldn't be.  run the file
through dos2unix, or if you've not got that on your system...

perl -e 'while (<STDIN>)  { s/\r\n/\n/; print }' < old.cer > new.cer


This message (and any attachment) is intended only for the 
recipient and may contain confidential and/or privileged 
material.  If you have received this in error, please contact the 
sender and delete this message immediately.  Disclosure, copying 
or other action taken in respect of this email or in 
reliance on it is prohibited.  BMRB Limited accepts no liability 
in relation to any personal emails, or content of any email which 
does not directly relate to our business.

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!

More information about the MailScanner mailing list