DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Thu, 23 Aug 2007 00:49:24 -0700,    posted on: microsoft.public.dotnet.security        back       

Thread Index
  1    unknown


Makecert certificate generation headache   
Hi, all!

I'm currently working on a .NET development project in which I'm
trying to figure out how to utilize makecert.exe, in order to issue a
pair of X.509 certificates for testing out the authentication scheme
of the solution. So far, however, I've not succeeded in providing the
makecert utility with a proper set of parameters, as makecert seems
to
work in mysterious ways and responds with a "Too many parameters"
error message no matter how hard I try to come up with an acceptable
set of parameter values. In the following I've provided an example of
my latest command line struggle to get makecert generate the
certificates I need:


In order to generate self-signed root certificate:


makecert -sv c:\SignRoot.pvk -cy authority -r c:\signroot.cer -a sha1
-
n "CN=Another Test Certification Authority"


This command just fine. However, when I try to generate a server
certificate for my IIS, utilizing makecert and the "root" certicate
generated by the listed above works in the following way,


makecert -iv c:\SignRoot.pvk -ic c:\signroot.cer -cy end -pe -n
"CN=Another Test Server Cert" -eku 1.3.6.1.5.5.7.3.1 -a sha1 -ss My -
sr currentuser -sky exchange


I run into yet another extremely annoying "Too many parameters" error
message. Are some of the options I'm using mutually exclusive or
what?
Any help on this issue would be highly appreciated.


Regards, Trond
Date:Thu, 23 Aug 2007 00:49:24 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us