How to hash a certificate request before signing it

Hi,
I am building a certificate request in asn format and I want to sign it with my own private key. Before I have to hash the certificate info (with sha1 for example). But I don't know exactly which bytes must be hashed.
Thanks for help

hey thanx very much man....
u had da solution in a flicker....
if there is a problem i will getback 2 u...
Thanx
Chinnu

Similar Messages

  • How to generate a certificate request with more than one OU?

    We're using Sun Java System Web Server 6.1 SP4. The Corp. has it's own CA and organize their certificates in a hierarchical rule with more then one organization unit (OU) in a chain.
    So what we need is generate a certificate requeste with more than one OU, but the Web Server wizard has only one text field for it. We've already tried to fill in this field the complete chain of OUs like "ou=orgX, ou=deptY, ou=secZ" and didn't work either.
    Thank's in advance,
    Jeff!

    Do you have tried with the command line "certutil" ?
    #<SERVER-ROOT>/bin/https/admin/bin/certutil

  • Sending certificate requests to CA

    Hello,
    when i try to create a certificate by using the strustsso2 transaction in my ERP system, firstly i created the certificate request and saved it to my local with .P10 extension.
    But when i try to send this certificate request to a CA by using the site "service.sap.com/tcs" i cannot find the way to achieve this.
    could you please help me to send this certificate request to CA?
    after i could achieve this, i will probably import certification response..
    Best Regards,
    Serafettin

    actually, this is not the problem..
    ok, i save the file in my local, this is OK..
    but i cannot find the way how to send this certificate request to CA in the "service.sap.com/tcs" site.. where to go in this web site?
    can you please help me on this?
    Regards,
    Serafettin

  • Automate client certificate request and installation

    I have ConfigMgr 2012 R2 configured to only listen on HTTPs for all client computers communications and I also have internal Windows 2008 CA server for issuing certificates.
    Now, in order to successfully install ConfigMgr client on a computer, I have to manually request/install the Workstation Authentication certificate first.
    I’d like to automate the ConfigMgr client installation process but don’t know how to automate the certificate request/installation piece on all computers. How do I configure
    my clients to automatically request and install “Workstation Authentication” certificate if they don’t have one already installed?
    Gucci100

    Incidentally, are you using a CA installed on Windows Enterprise or Windows standard?
    Jason | http://blog.configmgrftw.com
    You are absolutely right Jason. I completely forgot that when I got certified on 2008 there was a specific question regarding the difference in Std and Ent. Only Ent could do auto-enrollment. It seems, though, that this has changed with 2008 R2. The table
    on this
    link states that both versions allow for autoenrollment with an "*" at the bottom stating this feature is new for R2
    Jason is on the right path here. I noticed you stated that you have an internal "2008 CA" is this R2?
    Dustin Estes - MCP | www.dustinestes.com

  • How to create a certificate signing request that works with Microsoft CA

    Hi, I have created a certificate signing request file with keytool. When I try to create a certificate from it with CertReq (I use a Microsoft CA) I get the following error message:
    Certificate not issued (Denied) Denied by Policy Module The request does not contain a certificate template extension or the CertificateTemplate request attribute. (The request contains no certificate template information. 0x80094801 (-214687 5391)) Certificate Request Processor: The request contains no certificate template information. 0x80094801 (-2146875391) Denied by Policy Module The request does not contain a certificate template extension or the CertificateTemplate request attribute.
    How do I create a certificate signing request file so that a Microsoft CA will accept it and create a certificate from it. Thanks, Linh.

    I'm writing a applecation about x509 to deal with certificate and certificate request.
    I found that DER format certificate request create by sun's software with no extensions.
    I think this cause your error.My be MS CA can't identify such a request!So it's difficult to solve this problem unless MS or Sun change their codes.
    JStranger

  • How to generate CSR (certificate signing request) in PKCS#10 format

    Hi,
    First, I am a novice in security issues.
    Problem:
    I know how to generate CSR using PKCS#10 format with keytool. However I need to implement this functionality in my application. Unfortunately I can't find any docs describing this issue.
    Do anybody know about some API where I just pass data and it will generate CSR for me?
    Many Thanks,
    Miso

    Hi again,
    After a long research I am finally able to generate PKCS#10 cert. request files:
    public static void generatePKCS10() throws Exception {
            // generate PKCS10 certificate request
            KeyPairGenerator keyGen = KeyPairGenerator.getInstance("RSA");
            String sigAlg = "MD5WithRSA";
            // generate private key - use java.util.SecureRandom for entropy
            keyGen.initialize(1024, new SecureRandom());
            KeyPair keypair = keyGen.generateKeyPair();
            PublicKey publicKey = keypair.getPublic();
            PrivateKey privateKey = keypair.getPrivate();
            PKCS10 pkcs10 = new PKCS10(publicKey);
            Signature signature = Signature.getInstance(sigAlg);
            signature.initSign(privateKey);
                 //common, orgUnit, org, locality, state, country
            X500Name x500Name = new X500Name(
                      "CName",               // CN
                      "OUnit",               // OU
                      "Organization",          // O
                      "Bratislava",          // L
                      "Slovakia",               // S
                      "SK");               // C
            pkcs10.encodeAndSign(new X500Signer(signature, x500Name));
            // PKCS10 request generated
            pkcs10.print(System.out);
    Problem 1:
    However, this generates only a request with X500 subject's name ("CN, OU, O, ..."). But I also want to specify other things like "Key Usage" (example: "Digital Signature, Key Encipherment, etc.") or "Generic IA5 String" (example: "Only for test purposes."). How to do that?
    Problem 2:
    I'm also having trouble to find javadoc for "sun.security" package. As you can see, I'm using "sun.security.pkcs.PKCS10" class for generating CSR in PKCS10 format, but can't find any javadoc for it.
    Many thanks,
    Miso

  • I do not use and do not want an iCloud account and I keep getting requests to sign in....how do I stop the request?

    I do not use and do not want an iCloud account and I keep getting requests to sign in....how do I stop the request?

    If you bought the machine new yourself, and did not enter a password when configuring it, leave the field blank.
    If you bought it used, then you need to reset the password, as described here:
    Apple Article to reset the password

  • Have continuous request to sign in to FaceTime on ipad model MC980LL/A without phone capacity. How can I clear this?

    I am having a problem with a request to sign in to FaceTime although my Ipad does not have that capability. I can cancel the request, but it comes back almost immediately.  Suspect virus, but don"t know how to clear it.

    One other thing to note with this newfangled iOS 8.3 and FaceTime. If you have both an iPad and an iPhone and someone calls you, your iPad might start ringing as well. And you can even answer on the iPad without touching the phone. Same happens if you have a Mac with the latest OS X Yosemite 10.10.3.
    Cute novelty that might actually be useful for you. But that can cause unexpected battery drain and cellular charges*. And this happens even if you've turned FaceTime off. To control, visit Settings / FaceTime, turn it on if off and see the iPhone Cellular Calls toggle. Then you can turn FaceTime back off if you don't use it.
    *Cellular charges: FaceTime is adamant about accomplishing the connection. If Wi-Fi is available, that will be preferred, but otherwise the cellular link will be used if that exists. And that can be a costly proposition. The OP won't have to worry about this.

  • I have CS 6 which requests I sign in to access my serial numbers, which I have already, and it fails to connect so that I cannot use the programs. How do I get past this, is there a direct line to customer support?

    I have CS 6 which requests I sign in to access my serial numbers, which I have already, and it fails to connect so that I cannot use the programs. How do I get past this, is there a direct line to customer support in the UK?
    Thanks

    Sign in, activation, or connection errors | CS5.5 and later
    Mylenium

  • 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 AM

    You 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.

  • My IPad is requesting that sign into iCloud. When I put in my password it tells me that it is incorrect and to try to reset. When do that it sill won't let me. This is enabling me from doing anything on my iPad. How do I get around this?

    My IPad is requesting that sign into iCloud. When I put in my password it tells me that it is incorrect and to try to reset. When do that it sill won't let me. This is enabling me from doing anything on my iPad. How do I get around this?My IPad is requesting that sign into iCloud. When I put in my password it tells me that it is incorrect and to try to reset. When do that it sill won't let me. This is enabling me from doing anything on my iPad. How do I get around this?

    Where are you resetting the password? On your computer, I assume since you cannot use the iPad?
    Have you tried a reset to see if the popup will disappear?
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the button

  • When I am logged into iTunes and try to purchase something the window requesting I sign in to iTunes store keeps an appearing no matter how many times I enter the password (even though I'm already signed in!). Any suggestions greatly appreciated. Thanks.

    When I am logged into iTunes and try to purchase something the window requesting I sign in to iTunes store keeps an appearing no matter how many times I enter the password (even though I'm already signed in!). Any suggestions greatly appreciated. Thanks.

    This may help.
    Fix for “No Content” on iPhone & iPod after iOS 4.2.1 update
    The try the standar fixes:
    - Reset. Nothing will be lost.
    Reset iPod touch:  Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - Restore the iPod from backup via iTues
    - Restore the iPod factoery defaults/new iPod.

  • How to generate PKCS#10 ECDSA Certificate Requests?

    Hi all,
    Can any body please let me know how can I create ECDSA/RSA/DSA PKCS#10 certificate requests in Java using non-SUN providers?
    I've looked at the Java API docs and couldn't find any class for this purpose. Is there any open-source Classes/Tools which can be used?
    I've tried keytool with my provider which supports RSA and ECDSA, it works with RSA but not ECDSA.
    I'd appreciate your help.
    Joe

    Hi all,
    Can any body please let me know how can I create ECDSA/RSA/DSA PKCS#10 certificate requests in Java using non-SUN providers?
    I've looked at the Java API docs and couldn't find any class for this purpose. Is there any open-source Classes/Tools which can be used?
    I've tried keytool with my provider which supports RSA and ECDSA, it works with RSA but not ECDSA.
    I'd appreciate your help.
    Joe

  • How to generate a PKCS#10 certificate request

    Hi:
    does OWM generates certificate requests in PKCS#10 format?
    TIA

    Do you have tried with the command line "certutil" ?
    #<SERVER-ROOT>/bin/https/admin/bin/certutil

  • How can I solve "sign out of mobileme before signing in to icloud"?

    When opening the iCloud control panel on my Windows 7 PC, I get the message "sign out of MobileMe before signing in to iCloud".
    I am not signed in to MobileMe.
    Right now, I cannot sign in to the iCloud control panel because of that.
    What is the recommended approach to this issue?

    Thanks Csound1
    My PC still had the MobileMe control panel, once this was uninstalled, I could log in to the iCloud control panel.

Maybe you are looking for

  • Compiler error when useing switch statements in an inner class

    I have defined several constants in a class and want to use this constans also in an inner class. All the constants are defined as private static final int. All works fine except when useing the switch statement in the inner class. I get the compiler

  • Schedule  the file adapter

    Hi experts, I use file adapter to read files in the source directory,and I've setup IR and ID. It works very well. Now I want to let this scenarios run from 12:00 A.M to 8:00 A.M.     What to do for this? Many thanks.

  • Where are my photos stored?

    When I import pictures in iphoto from my SD memory card where do the pictures get stored?  Another words, what directory do I look under in Finder to find them?  Same thing with movies download from my SD card.

  • Automatic jre1.4 Plug-in instalation.

    I have a problem with the JRE1.4 beta 2 Plug-in. I'm tring to insert in my thml page a applet, wich need this plug in. And if there is no JRE1.4 installed, then it should download this plug-in. I wrote as an example on 'http://java.sun.com/j2se/1.4/d

  • Im trying to recover my pc but it says re-install windows root /system32/hal.d11. dont what that is

    Im trying to find out how to get on my computer it says that i need to re-install <windows root>/system32/hal.d11. dont know how and i pressed f10 to recover my system and it gets to 77 percent and says having trouble extracting files or something li