RE: Error exporting RSA key container via aspnet_regiis
- From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng[MSFT])
- Date: Tue, 17 Oct 2006 07:47:39 GMT
Hello dpomt,
As for the aspnet_regiis.exe tool, it can help generate and export some
machine stored RSA key. And you're right that in order to export the full
public/private key pairs, we need to use -px with -pri options.
As for the exporting error you encountered, regardless of the environment
or framework installing problem, I'm wondering how did you originally
create this RSA key. When creating the RSA key, we need to specify the
"-exp" option so as to make it exportable, have you done this when creating
your RSA key?
Here is a msdn article which has demonstrated how to create and export such
a RSA key for encrypting .net 2.0 applciation's configuration file.
#How To: Encrypt Configuration Sections in ASP.NET 2.0 Using RSA
http://msdn.microsoft.com/library/en-us/dnpag2/html/paght000006.asp?frame=tr
ue
If you've already followed the correct steps from creating key to exporting
key, I would suggest you duplicate the same steps on some other machine
with .net framework 2.0 installed. If other machine works well, this should
be an machine specific issue.
Hope this helps. Please feel free to let me know if you have any new
finding.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
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://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
.
- Prev by Date: Re: Can't get access with some role logins - on IIS 6 only
- Next by Date: RE: problem connecting to dbase from webservice with impersonation
- Previous by thread: Re: Can't get access with some role logins - on IIS 6 only
- Next by thread: RE: Error exporting RSA key container via aspnet_regiis
- Index(es):
Relevant Pages
|
|