How to encode a certificate to base64BinaryFormat
Hi all.
I need to use WS- security in my soap message which needs my X509 certificate to be encoded in base64Binary format. can anyone suggest me how to encode a certificate to base64Binary format.
Thanks
Vignesh
Lanlani wrote:
But still the output returns a question mark instead of the é and a square instead of the é respectively.And how are you determining that? Bear in mind that the tool you use for looking at the output may also have charset encoding problems.
Similar Messages
-
How to add a certificate to IIS global "Server Certificates" list using PowerShell?
Hi, been surfing the web for an example on how to add a certificate to the "global" IIS "Server Certificates" list using PowerShell but to no luck. I already have code in place on how to tie / associate a specific website with a specific cert but not how
to add the new .cer file using the "Complete Certificate Request..." wizard using PowerShell.... I dont expect the final code to become published but if someone had an idea on howto integrate / get an entry point on where to interact between the "Server Certificate"
list in IIS and POSH I would be super happy! :|
I am runnign IIS on a Windows 2008R2 x64 Standard Edition if that helps..... of course, I would saddle for an CLI if there is no other way, but POSH is of course the way to go! :)
Thanks for the help in advance guys, take care!
br4tt3Hi and thanks for the suggestions!
Although it comes close, the suggested code example points on howto import / incorporate .pfx files - I am getting fed by .cer files which I need to add into the IIS console using POSH.
I tried explore the IIS.CertObj object but was not able to work out if this one could be used for importing / adding .cer files into IIS! However, launching the following command from a POSH console with Import-Module Webadministration already
loaded into that shell;
$certMgr = New-Object -ComObject IIS.CertObj returns the following error message:
New-Object : Cannot load COM type IIS.CertObj
From an IIS perspective I have the following components installed;
[X] Web Server (IIS) Web-Server
[X] Web Server Web-WebServer
[ ] Common HTTP Features Web-Common-Http
[ ] Static Content Web-Static-Content
[ ] Default Document Web-Default-Doc
[ ] Directory Browsing Web-Dir-Browsing
[ ] HTTP Errors Web-Http-Errors
[ ] HTTP Redirection Web-Http-Redirect
[ ] WebDAV Publishing Web-DAV-Publishing
[X] Application Development Web-App-Dev
[ ] ASP.NET
Web-Asp-Net
[X] .NET Extensibility Web-Net-Ext
[ ] ASP
Web-ASP
[ ] CGI
Web-CGI
[ ] ISAPI Extensions Web-ISAPI-Ext
[ ] ISAPI Filters Web-ISAPI-Filter
[ ] Server Side Includes Web-Includes
[ ] Health and Diagnostics Web-Health
[ ] HTTP Logging Web-Http-Logging
[ ] Logging Tools Web-Log-Libraries
[ ] Request Monitor Web-Request-Monitor
[ ] Tracing
Web-Http-Tracing
[ ] Custom Logging Web-Custom-Logging
[ ] ODBC Logging Web-ODBC-Logging
[X] Security
Web-Security
[ ] Basic Authentication Web-Basic-Auth
[ ] Windows Authentication Web-Windows-Auth
[ ] Digest Authentication Web-Digest-Auth
[ ] Client Certificate Mapping Authentic... Web-Client-Auth
[ ] IIS Client Certificate Mapping Authe... Web-Cert-Auth
[ ] URL Authorization Web-Url-Auth
[X] Request Filtering Web-Filtering
[ ] IP and Domain Restrictions Web-IP-Security
[ ] Performance Web-Performance
[ ] Static Content Compression Web-Stat-Compression
[ ] Dynamic Content Compression Web-Dyn-Compression
[X] Management Tools Web-Mgmt-Tools
[X] IIS Management Console Web-Mgmt-Console
[X] IIS Management Scripts and Tools Web-Scripting-Tools
[ ] Management Service Web-Mgmt-Service
[ ] IIS 6 Management Compatibility Web-Mgmt-Compat
[ ] IIS 6 Metabase Compatibility Web-Metabase
[ ] IIS 6 WMI Compatibility Web-WMI
[ ] IIS 6 Scripting Tools Web-Lgcy-Scripting
[ ] IIS 6 Management Console Web-Lgcy-Mgmt-Console
[X] FTP Server Web-Ftp-Server
[X] FTP Service Web-Ftp-Service
[X] FTP Extensibility Web-Ftp-Ext
[ ] IIS Hostable Web Core Web-WHC
More or less the one thing that I am trying to get up and running is an automated FTPS solution - I just use the IIS console to be able to troubleshoot / compare how things scripted from POSH interacts in the MMC representation. The error I am getting
might be that I am lacking some IIS components to be in place to be able to automate some parts of the IIS - as suggested by the IIS.CertObj object listed in the example..... I will get back if I can track down which component needs to be added to be
able to reference the IIS.CertObj object.
Br4tt3 signing out...
br4tt3 -
How to get digital certificate informaiton of the email in mail adapter
Hi, expert:
I have a requirement to verify the validation of coming email with digital certification. The mail is with digital certification. If the coming email is valid, I 'll get the attachemt of the mail for further processing. I have a sender mail adapter and receiver file adapter configued.
I have already my own developed adapter module, which is configued in mail adapter. My question is how to retrieve the detailed certificate information in the adapter module developed by myself. Is it feasible?
Thanks a lot.Hi Oscar !!
refer this blog & links , you will get all you are looking for
<b>How to use Digital Certificates for Signing & Encrypting Messages in XI</b>
/people/varadharajan.krishnasamy/blog/2007/05/11/how-to-use-digital-certificates-for-signing-encrypting-messages-in-xi
http://help.sap.com/saphelp_nw04/helpdata/en/a8/882a40ce93185de10000000a1550b0/frameset.htm
Thanks !
Regards
Abhishek Agrahari -
How to encode URL parameters in pl/sql?
How to encode url and its paramters in PL/SQL to call a page using html GET method? Is there any equiavlent method of java's URLEncoder.encode() method in pl/sql (in any web packages) ?
Any help/pointers highly appreciated.
P.S. : URGENT PLEASE!!!http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:371959198986
-
Seeburger AS2: How to set up Certificates in PI
Hi ! ALL
We are setting up Seeburger AS2 adapters to exchange file with vendors (B2B).
can you please, share with us ..
1.How to set up certificates, decryption key, signature key.
2.Also, instead of the vendors coming directly to the PI box.....can you share if you have set up any DMZ/firewall environment and how it was set up to talk to PI, especially exchanging certificates.
Your help is greatly appreciated!!
Thank you,
Patrick
Edited by: Patrick Jones on Feb 4, 2009 10:23 PMHi Patrick,
For secured communication with business partners you need to implement message level security. You need to create certificates in visual administrator and exchange the public key with your business partner. Also you need to import your business partner public key in visual administrator.
For encryption - Use business partner public key
For signing - Use your private key.
For DMZ check the following help link
http://help.sap.com/saphelp_nw04/helpdata/en/d9/ef2940cbf2195de10000000a1550b0/content.htm
Regards
Prakash -
How to encode a fileHandler to output french characters ?
Hi everyone,
I'm trying to encode a fileHandler to create a file that contains french special characters (è, é, . . . .).
I tried the following code:
fileHandler.setEncoding("ISO-8859-1");
and the following
fileHandler.setEncoding("UTF-8");
But still the output returns a question mark instead of the é and a square instead of the é respectively.
Can anyone advice how to encode the fileHandler to have french characters in the output file ?
Thanks
LanlaniLanlani wrote:
But still the output returns a question mark instead of the é and a square instead of the é respectively.And how are you determining that? Bear in mind that the tool you use for looking at the output may also have charset encoding problems. -
How to encode music to Protected AAC file?
How to encode music to Protected AAC file?
Hi, 微雨轻韩.
That is not an option with iTunes.
Only files purchased from the iTunes Store are protected by Fairplay. Apple doesn't license its use for anything else. -
How to encode URL in UTF-8 Using PL/SQL
Hello,
Platform:Oracle 9i, Sun Solaris,
Using Oracle 0i XML/XDK Iam able to generate xml data and post it to url via HTTP POST. But the xml data need to be encoded in utf-8. Does anyone know how to encode the xml data within PL/sql ?
Thanks for your time
SeemaThanks for the suggestion. I like this approach as Java is more familiar to me than other languages.
Our DBA is out of touch today, so I could not grant the javauserpriv to my database user. I tried to run the script anyway in the chance that my user had the privs, and it seemed to have hung. I am now combing Oracle's site for more documentation so I can write some tests to see if I can get a basic Java object working. Under what heading would I find this?
ajt -
How to import a certificate in OHS
Hi,
We have WebLogic 10.3.5 and SOA 11g installed which is front end by OHS. We have outside vendor that hit OHS and then OHS does the routing to web logic and SOA. Vendor have provided a certificate that we need to import into OHS. Wanted to find out how to import a certificate in OHS. Any help is appreciated.
Thankshttp://docs.oracle.com/cd/E21764_01/web.1111/e10144/getstart.htm#HSADM860
-
How to view the certificate that a component has been signed with?
Hi all,
Been using java webstart deployment for a while so understand how to sign and deploy java applications.
Question I have is how to view the certificate that was used to Sign a jar. For example, if I signed a jar "myComponent.jar" how can I then view the certificate details within this jar. I currently have an old component which I signed with an old certificate and want to view the experation details.
Thanks in advance
Simon
Edited by: simon_seagroatt on Sep 22, 2009 4:20 AMYou can use command (it will show CN, OU, O, L, etc... and expiration date, of course):
jarsigner -certs -verify -verbose pathToYourJar.jarI'd suggest redirecting output (>>out.txt).
Bye. -
How to replace the certificate of Cisco 2106 wireless LAN controller for CAPWAP ?
I have interested in CAPWAP feature and I download the open capwap project to make Access Controller (AC) and Wireless Terminal Point (WTP). I had built the AC which used PC and WTP which used Atheros AP. The CAPWAP feature work well when I enabled the CAPWAP that used my own AC and WTP. When I got the Cisco 2106 wireless LAN controller (Cisco WLC), I configured the Cisco WLC to instead my own AC but I got the authorize fail in Cisco WLC side. It seem the Cisco WLC could not recognize the CAPWAP message which sent form my own WTP. I think this issue just need to synchronize the certificate between Cisco WLC and WTP.So I need to replace the Cisco WLC's certificate manually. Does anyone know how to replace the certificate manually with Cisco WLC ?
Best Regards,
AlanUnfortunately this Support Community is for Cisco Small Business & Small Business Pro product offerings. The WLC2106 is a traditional Cisco product. You can find this type of support on the Cisco NetPro Forum for all traditional Cisco products.
Best Regards,
Glenn -
How to encode FCP files to Windows Media files by using Discreet Cleaner?
Do you know how to encode from FCP to Windows Media files in Discreet Cleaner 6.0?
Which is the right settings?
I got errors when I tries
In beforehand thank you very much for your answerHello Mikey
I have put up the following in the settings in Cleaner 6.0.1:
SETTING
Windows Media
OUTPUT:
Windows media
TRACKS:
Video media will be encoded into the output file
IMAGE:
- crop: manual
- image size: 320x240
- constrain aspect ratio: 4:3
- deinterlace: auto
Sharpen: radius: 1.5, amount: 50
Adaptive noise reducwe: mild
ADJUST:
- Gamma: 15
- Brightness: -5
- Contrast: 5
ENCODE:
- Windows Media Video V7
- Frame rate: 24 fps
- Insert Key frames: every 300 frames
- Video data rate: limit to 400 kbits/sec
AUDIO:
- Sample rate: 44.100 kHz
- Data rate: 48.0 kbits/sec
- Channels: stereo
BATCH> set default destination- her har jeg valgt en folder på harddisk
STATUS
- "Ready"
PLAY
I get the following message after to played:
"You need to clear the status and/or change settings for the media to begin encoding"
What is wrong with the settings or status?
Kind regards
mary Ann -
String szUsrName="venkat & ashique";
<a href="javascript :
window.open(../jsp/Customer.jsp?cust_name=<%=szUsrName%">)">
</a>
Request URL:=> Customer.jsp?cust_name=venkat & ashique
--I think from ashique it is taking as another req parameter.
but in Customer.jsp the request parameter value comming as '''venkat''' iwant to get whole String venkat & ashique. What is the problem i know.Problem is in the string '&' symbol is there.But the solution i dont know plz can u help me. How to encode that url</a>You need to escape non-alphanumeric characters with %XX where XX is the hexadecimal value for that character. For example:
"venkat & ashique" => "venkat%20%26%20ashique"%20 is space and %26 is the &. -
How to install SSL certificate on the second ACE in the HA pair
Hi,
I'm struggling to figure out how to install a certificate (.p7b and .crf) on my second ACE in a HA pair.
On ACE01 i generated a CSR and gave the details to our SSL provider, they provided the certificates and i imported them. All good there.
How can i install the same SSL on ACE02 if i haven't generated a CSR on my backup devicde, or do i generate a CSR and import the same certificate?
Since bringing the ACE's into HA all contexts have sync'd and the backup ACE is in 'hot standby' state. But one context fails the sync and i think this is because the SSL certificate is not installed correctly on the second ACE02.
Anybody got any ideas, suggestions?
CheersHi,
If you already have the cert and key on the Active ACE, then you just need to export them using "crypto export ..." command from Active ACE and then import to the standby ACE using "crypto import ..."
Regards,
Siva -
How to encode a password ??
Hi,
How to encode (and decode after) a password, in Base64 for example ? Is it possible to do that automatically with Java ??
Thanks in advance
SteveI have finding how to encode but i don't know how to decode now !
This is my code :
sun.misc.BASE64Encoder encoder = new sun.misc.BASE64Encoder();
encoder.encode(myJTextField.getText());
It works very well but this don't work (decode) :
sun.misc.BASE64Decoder decoder = new sun.misc.BASE64Decoder();
decoder.decode(myPassword);
the error : "the method decode with a String for parameter doesn't exist"
And i don't know how to find the declaration of this method.
Help plzzzzz
Thanks
Steve
Maybe you are looking for
-
Integrating OIM 9.1.0.2-ORM 10.1.4.2
Friend, Is there any version of Oracle data base 11G R1 (11.1.0.7) for Linux 64-bit Thanks
-
Spry dataset: change URL and reload
OK, gang. One here's another lump of code chum: I'm trying to be a bit more secure with my app, so I have a dataset that begins with some dummy data: var G_dsApprovedAssets = new Spry.Data.XMLDataSet("/_testData/dummyAssetOverview.xml", "root/assetLi
-
Why do background clips show at the edges of the frame?
Disclaimer, I'm brand new to video editing... this may not be a bug or even a problem for others, but it's annoying the crap out of me right now. If I have 2 clips on the timeline that overlap, the edges of the frame let the lower clip peek through.
-
R2D2 not working after a year?
I have an R2D2/DROID 2, I got it last year. I have followed all recommended maintenance procedures, and even just did a factory reset to try and fix this problem to rule out software bug, but I'm still having the problem. The touchscreen barely wor
-
Hi I have a select list on APEX and select list has list of values definiton select PROCNAME display_value, ID return_value from PROCEDURES order by 1When I select one of item I must call the a procedure that I have. How can I do ? Edited by: esra ak