Monthly Archives: June 2009

Problems with apt-get in ubuntu (NO_PUBKEY 9AA38DCD55BE302B NO_PUBKEY 4D270D06F42584E6)

I got this error:

W: GPG error: http://mirrors.sunsite.dk stable Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 9AA38DCD55BE302B NO_PUBKEY 4D270D06F42584E6
W: You may want to run apt-get update to correct these problems

This can be resolve but typing:
gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 9AA38DCD55BE302B
gpg --armor --export 9AA38DCD55BE302B | apt-key add -

gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 4D270D06F42584E6
gpg --armor --export 4D270D06F42584E6 | apt-key add -

Securing a Exchange 2007 Client Access server, with a signed certificates

Securing a Exchange 2007 Client Access server, with a signed certificates

First to request a certificates start Exchange Management Shell

Type this into the console:

New-ExchangeCertificate -DomainName exchange01.domainname.local, webmail.domain.prefix -FriendlyName ”Microsoft Exchange” -GenerateRequest:$True -Keysize 2048 -path c:\certrequest.txt -privatekeyExportable:$true -subjectName “c=DK, o=organization name, CN=webmail.domain.prefix”

Change domainname.local, domain.prefix (2 places) and last change you organization name.

Now you get a file, name c:\certrequest.txt. The content of this file, you can send this to yours 3rd party certificate authority.
After this you got an a signed certificates back, as you need to import into the Exchange servers, this is done like this.

Copy the sign certificates to a file in the root of c:\ name signcert.txt
And run this in the Exchange console

Import-ExchangeCertificate –Path c:\signcert.txt | Enable-ExchangeCertificate –Services IIS,POP,IMAP,SMTP