473,785 Members | 2,299 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to sign an x.509 certificate?

This post is a "sanity check"....

I have located the docs on how to sign a x.509 certificate

http://msdn.microsoft.com/en-us/library/aa529277.aspx
http://msdn.microsoft.com/en-us/library/aa528788.aspx
http://msdn.microsoft.com/en-us/library/aa528756.aspx

Step 2 in the first one refers to the second one "creating a custom policy
assertion". Just a brief scan of the first and second link depicts a huge
task.

My question is: Is signing a x.509 certificate really this difficult?

Is it any easier in WCF than it is in WSE 3.0?

--
Regards,
Gary Blakely
Sep 9 '08 #1
2 2558
No, it is not much easier, but it is heading that direction. Security is a
serious thing and the minds developing these things are still working their
way around the problem. Of note, however, is the fact that creating a
service, internal or external has gotten easier. I think that is a major
step. At least most of it is declarative, which is a good thing.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

*************** *************** **************
| Think outside the box! |
*************** *************** **************
"GaryDean" <gd**********@n ewsgroup.nospam wrote in message
news:OP******** ******@TK2MSFTN GP02.phx.gbl...
This post is a "sanity check"....

I have located the docs on how to sign a x.509 certificate

http://msdn.microsoft.com/en-us/library/aa529277.aspx
http://msdn.microsoft.com/en-us/library/aa528788.aspx
http://msdn.microsoft.com/en-us/library/aa528756.aspx

Step 2 in the first one refers to the second one "creating a custom policy
assertion". Just a brief scan of the first and second link depicts a huge
task.

My question is: Is signing a x.509 certificate really this difficult?

Is it any easier in WCF than it is in WSE 3.0?

--
Regards,
Gary Blakely

Sep 9 '08 #2
Hi Gary,

The link you provided is about programmtically perform message signing in
WSE. Yes, you need to follow all those steps. Actually both WSE or WCF api
has help encapsulated much underlying X509 digital signing details.

Also, generally if those configuration based policy can satisfy your
requirement, you're preferred to use those configuration based predefined
policys. IMO, WCF's predefined security policy is more complete and also
provide much more convenient user interface and XML conifiguration schema
(help us edit the configuration file easily)

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subs...#notifications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://support.microsoft.com/select/...tance&ln=en-us.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.


--------------------
>From: "GaryDean" <gd**********@n ewsgroup.nospam >
Subject: how to sign an x.509 certificate?
Date: Mon, 8 Sep 2008 18:16:44 -0700
>
This post is a "sanity check"....

I have located the docs on how to sign a x.509 certificate

http://msdn.microsoft.com/en-us/library/aa529277.aspx
http://msdn.microsoft.com/en-us/library/aa528788.aspx
http://msdn.microsoft.com/en-us/library/aa528756.aspx

Step 2 in the first one refers to the second one "creating a custom policy
assertion". Just a brief scan of the first and second link depicts a huge
task.

My question is: Is signing a x.509 certificate really this difficult?

Is it any easier in WCF than it is in WSE 3.0?

--
Regards,
Gary Blakely
Sep 9 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1546
by: Roy | last post by:
Maybe I am in the wrong place and doing this the wrong way... please tell me if you think there is a better way. I need to transfer some files from a server to the client workstation. The transfer has to be initiated from a page served up by the web server. This is easy enough to do with Java Script and Windows FSO but I have to loosen up the browser security and my (military) employer will not allow that. So, is there some way I can...
4
11329
by: Matt Frame | last post by:
I am working on a special ASP.Net application that receives files from customers. The connection is made via HTTPS and the client sends the file as a POST to my ASP.Net listener. All of this works fine. Now I am looking at how to validate the clients certificate programmatically. The client application sends to me with something like: .... Dim myHttp As HttpWebRequest = CType(WebRequest.Create(https://myserver/Receive.aspx),...
2
2675
by: MS Newsgroups | last post by:
Hi, Is it possible to sign my code with a certificate programatically (same as using signcode.exe) ? Niclas
1
1343
by: Henrik Skak Pedersen | last post by:
Hi, I would like send an user a license certificate which is in xml file. It is ok that they can read it they are just not allowed to change it. I have tried to sign my xml document using the SignedXml class and the RSACryptoServiceProvider to create the key and that works fine. But I guess that the user just can remove the signed part, change the doucment and resign it. How can I check for that?
3
1050
by: Welsinner | last post by:
Friends, I am executing a web service (under Web Server) that will return a signed message. I want to use the server certificate (used by web server to SSL) to sign this message. My web service isn't accessing the private key to sign. The exception says that "set keys not exists". I beleive the problem is my process privillege under IIS.
2
4765
by: Terry Chapman | last post by:
I have a 2003 Access .mda add-in which I can sign using my Thawte digital certificate. I am now migrating this add-in to Access 2007 and when I try to add my Thawte digital signature Access 2007 says 'Cannot save the digital signature at this time' and suggests that I 'package and sign' the file from the Microsoft Office Button / Publish / Publish and Sign menu option. I am able to do this but it saves my add-in as a signed package...
14
1594
by: Bob Alston | last post by:
For software you build for others, do most of you sign your macros and if so how or do you set macro security to low? Bob
4
9173
by: haxier | last post by:
Hi all I'm developing an application with some reports and we're looking for advice. This reports should be openoffice.org .odf files, pdf files, and perhaps microsoft word files (.doc, .docx?) and must be digitally signed. Is out there some kind of libraries to ease this tasks? * Access to the local user certificate store, and read PEM or PKCS12 certificate files. * Read, parse and validate user certificates
3
3833
by: wrsoundar | last post by:
Hi Friends I have a problem in excel data export thru javascript. we create an excel object from javascript. at that time IE shows the warning message "An Activex ontrol on this page might be unsafe to interect with other part of the page. do you want to allow this interection?" shows. Our client dont want to enable the Unsafe manner chk box in security settings So we tried to sign the excel object using sign tool and make the...
0
9643
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10315
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10147
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9947
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7494
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6737
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5379
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.