You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Current »
How to use WS-Security in .NET to encrypt and sign SOAP with MPDIS
Create a .net Console Application
Add WSE3.0 via Nuget
Create WS client stub via “Add Service Reference”
Run mmc.exe and add certificates snap-in to import certificates/key-pair
Add certificate snap-in, and make sure “Computer account” is chosen.
Import mpdis.cer(attached) to “Trusted People”
Path : \\Tc4s0a\groups\AARA\AARAD\Software Library\Developer Tools\DotNet DAPLS WS Client
Import dapls.12(attached) to “Personal”
Path : \\Tc4s0a\groups\AARA\AARAD\Software Library\Developer Tools\DotNet DAPLS WS Client
You will be asked for the password, enter dapls
Install winhttpcertcfg from https://www.microsoft.com/en-ca/download/details.aspx?id=19801
Run the following command to allow the user who runs the application to access the installed private key( installed at step c)
"C:\Program Files (x86)\Windows Resource Kits\Tools"\winhttpcertcfg.exe -g -c LOCAL_MACHINE\My -s dapls -a "MachineName\\Username"
(Make sure to change the username in RED to your environment)
How to create Executable file for Canadian Batch Process
Add Comment