Saturday, February 27, 2010

How to determine the server certificate given an https wcf proxy?

One day when you are using https transports in WCF you might try to figure out what certificate the server is using. That is going to be the day you're glad you found my blog. namespace WebClient{ using System; using System.IdentityModel.Tokens; using System.ServiceModel; using System.ServiceModel.Channels; /// /// Interface implemented by a random https bound web service I found on the web. /// [ServiceContract (Namespace="http://arcweb.esri.com/v2")] interface IVersion { [OperationContract] string getVersion(); } class Program { ...

Saturday, February 13, 2010

PowerShell, PowerTab and Certificates

Powershell is good, but with an awesome tab completer Powershell is great.  Luckily said awesome Tab completer exists, and it is called PowerTab.  Powertab didn't work quite right in the certificate provider (and some other places) so I made some fixes and threw them up on CodePlex. A small demo below:  ...

Saturday, February 6, 2010

Better Certificate Management in Powershell via CertificateHelper

If you’ve read my previous post here, you know powershell can do some basic certificate management via the certificate provider. However, the certificate provider has some limitations. The certificate provider can’t create,delete,copy or import/export certificates. This annoyed me so I’m creating a powershell module called CertificateHelper that will provide these missing features. So far the module implements: New-Certificate Remove-Certificate  CertHelper can be found on codeplex. You install it like this: (You must have hg installed)PS C:\>cd $home\Documents\WindowsPowerShell\Modules...

Page 1 of 2312345Next