How to get jarEntry certificates?

What is wrong
JarInputStream jar = null;
          try {
               jar = new JarInputStream(new FileInputStream("e:/out/p1.jar"));
               JarEntry je = null;
               while ((je = jar.getNextJarEntry()) != null) {
                    System.out.println("--------------------");
                    System.out.println(je);
                    byte[] b = new byte[3000];
                    int l = jar.read(b);
                    System.out.println("len: " + l);
                    Certificate[] certs = je.getCertificates();
                    System.out.println("certs: " + certs);
          } catch (Exception e) {
               e.printStackTrace();
          } finally {
               if (jar != null) {
                    try {
                         jar.close();
                    } catch (Exception e) {
                         // ignore
          }I get
META-INF/GMNA.SF
len: 203
certs: null
META-INF/GMNA.DSA
len: 664
certs: null
org/x4444/p1/Superp1.class
len: 471
certs: null
Why org/x4444/p1/Superp1.class has certs == null?
The jar is signed by
jarsigner.exe p1.jar gmna

Hi Alain,
I reached out to our certificate folks and got the following response:
Robert Heroux from Vantrix team already reached out to Flash Access Certificate Management Team via DL-FlashAccessCertRequest and they have replied with the required information to renew the certificates. Going forward, please make sure to reach out to DL-FlashAccessCertRequest via email for any certificates inquires
cheers,
/Eric.

Similar Messages

  • 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 get server certificate before sending off confidential content?

    If my mail client knows for example the SHA1 value of TLS/SSL enabled receiving MTA's certificate, subversion of DNS and Root-CAs could be prevented if after establishing the connection, the com.sun.mail.smtp.SMTPTransport.serverSocket were accessible to retrieve that certificate:
    X509Certificate[] certs = null;
    if (serverSocket instanceof SSLSocket) {
    SSLSocket ssl = (SSLSocket) serverSocket;
    certs = ssl.getSession().getPeerCertificateChain();
    byte[] sha1 = MessageDigest.getInstance("SHA1").digest(
    certs[0].getEncoded());
    //TODO now validate with the sha1 you already know
    Unfortunately com.sun.mail.smtp.SMTPTransport (let alone javax.mail.Transport) have a public getServerSocket() or even better a getX509ServerCertificates() method.
    Any other ideas how to get at those certificates short of using gnu classpathx?
    See also http://forum.java.sun.com/thread.jspa?threadID=615422

    I found the solution for server side. We will use Handler. And base on technology to generate web service's stuff (my server using axis, but my client using jaxWS), we have different ways to implement and deploy Handler. My purpose is only write input/output xml message to log, so with my server, I only adjust server-config.wsdd as bellow:
    <deployment
    xmlns="http://xml.apache.org/axis/wsdd/"
    xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
    <handler name="log" type="java:org.apache.axis.handlers.LogHandler"/>
    <globalConfiguration>
    <requestFlow>
    <handler type="log"/>
    </requestFlow>
    <responseFlow>
    <handler type="log"/>
    </responseFlow>
    </globalConfiguration>
    <transport
    name="http" pivot="java:org.apache.axis.transport.http.HTTPSender"/>
    </deployment>
    But now I still can not control directory and log file name yet (now it's axis.log by default).
    Edited by: mydesktop on Nov 15, 2010 6:20 PM

  • How to get SSL certificates in JRun

    I have some problems in using JRun 3.1 with apache 2.0 in
    microsoft Windows XP professional.
    I want to get SSL peer certificates in a jsp file. But it was
    always failed.
    Could you tell me how to get the remote user's certificate.
    content of JSP file:
    boolean isSecure = request.isSecure();
    if(isSecure)
    X509Certificate[] certChain =
    (X509Certificate[])request.getAttribute("javax.servlet.request.X509Certificate");
    if(certChain!=null)
    else
    out.println("<br>User certificate is
    null.<br>");
    ...

    Configuring Commercial certificates on weblogic server
    http://weblogictips.wordpress.com/2008/07/27/configuring-commercial-certificates-on-weblogic-server/
    How to debug SSL issues with weblogic server
    http://weblogictips.wordpress.com/2010/05/11/how-to-debug-ssl-issues-with-weblogic-server/
    Steps to create self sign certificates for weblogic server
    http://weblogictips.wordpress.com/2008/07/27/steps-to-create-self-sign-certificates-for-weblogic-server/
    thanks,
    sandeep

  • HT4623 how to get ios5 certificate for openvpn

    I need to use openvpn connect and I have had my own certificate. But Iphone still needs additional certificate. How do I get the additional certificate?
    Thanks & Regards

    Hi,
    Here are some related links below for you:
    a real certificate for a virtual machine
    https://social.msdn.microsoft.com/Forums/azure/en-US/7c48763f-fb04-46c6-a6e6-c21740d007cf/a-real-certificate-for-a-virtual-machine?forum=WAVirtualMachinesforWindows
    Configuring a custom domain name for an Azure cloud service
    http://azure.microsoft.com/en-us/documentation/articles/cloud-services-custom-domain-name/
    Create a Service Certificate for Azure
    https://msdn.microsoft.com/library/azure/gg432987.aspx?f=255&MSPPError=-2147217396
    Since we are not familiar with Azure, if the information above is not helpful, please post another thread in Azure forums and post a feedback regarding your requirement:
    http://feedback.azure.com/forums/34192--general-feedback
    Best Regards,
    Amy
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]

  • How to get a certificate for SQL server (Virtual machine) on Azura

    Hi 
    I am lost and I don't know what to do have a certificate available for SQL2014 (Data warehousing virtual machine Size A7).
    My purpose is to connect to SQL server via Power Query and Engagement Studio  with Encryption connection option ticked. 
    I have looked at a lot of pages via Google and I wish there is a clear step-by-step guide for me to follow. This is a MS Cloud with a predefined virtual machine. There should be some guide. Can you point me to the right direction please? 
    I have a 

    Hi,
    Here are some related links below for you:
    a real certificate for a virtual machine
    https://social.msdn.microsoft.com/Forums/azure/en-US/7c48763f-fb04-46c6-a6e6-c21740d007cf/a-real-certificate-for-a-virtual-machine?forum=WAVirtualMachinesforWindows
    Configuring a custom domain name for an Azure cloud service
    http://azure.microsoft.com/en-us/documentation/articles/cloud-services-custom-domain-name/
    Create a Service Certificate for Azure
    https://msdn.microsoft.com/library/azure/gg432987.aspx?f=255&MSPPError=-2147217396
    Since we are not familiar with Azure, if the information above is not helpful, please post another thread in Azure forums and post a feedback regarding your requirement:
    http://feedback.azure.com/forums/34192--general-feedback
    Best Regards,
    Amy
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]

  • How to get Maintenance_HDB certificate for BW Powered With HANA system.

    Hi,
    We need to install Maintenance_HDB license in order to install BI -CONT addon component on our newly installed BW Powered With HANA system. But we could not get Maintenance_HDB license, as we are able to get only Maintenance_ADA License for our system.
    The main clarification required here is while adding a new entry in SMP (Service Market Place) of BW Powered By HANA system, what is the product that needs to selected in order to get HANA as database. We did selected Netweaver 7.3 for which we were actually made to select MAXDB as database but not HANA.
    Thanks & Regards,
    Pavan Indrakumar

    Well even though it says your customer number is not authorized for HANA DATABASE license for BW, we can add HANA as database product under Netweaver 7.3 and proceed requesting for Maintenace License.
    Not sure about the exact criteria behind the license provisioning.

  • How to get a server chain certificate

    Hi all,
    I'm installing SSL on Bea Logic server 6.0, but i dont know how to get a server
    chain certificate.
    Does any body know how to get this certificate?
    Also, I read in the e-docs site that we can use utility der2pem and vice versa
    to convert between them, but i odnt know where to get the tools.(It's not in the
    utils.jar)
    thanks for any answer.
    Uy

    Hi all,
    I'm installing SSL on Bea Logic server 6.0, but i dont know how to get a server
    chain certificate.
    Does any body know how to get this certificate?
    Also, I read in the e-docs site that we can use utility der2pem and vice versa
    to convert between them, but i odnt know where to get the tools.(It's not in the
    utils.jar)
    thanks for any answer.
    Uy

  • How to get certificate from sun one directory server

    I have installed sun one directory server 5.2. Now in order to connect to the server through ldap protocol i need certificate on the client side.
    How to get the certificate from the sun one directory server...??
    ( Earlier i tried the same procedure with active directory .and i got the certificate successfully ...as well as ldap authentication..but don't know what to do with the sun one..???)
    Any tips on this issue will be helpful
    thank you

    You didn't make mention of setting up ssl on the server side, so search these boards for openssl. Some nice person uploaded an nice example of how do use openssl to do this.
    To get the ssl certs for the solaris-client ssl authentication ( tls:simple ) to work you will need to use netscape to connect to the ssl port to get the right format. There are comments in that same doc on how to do that.

  • SSL enabled - how to get certificates

    Hi all.
    We have an environment where we have to servers, one running identity management 9.0.4 and one running application server 9.0.4. Repository database is in another ORACLE_HOME running on 9.2.0.6
    We have OID integrated with AD and users log on to the portal using the AD authentication. Group functionality in the portal are also controlled from AD using global security groups.
    The last step we have done is to implement https for both http servers. The SSL hosts has been created as "virtual hostnames" and redirection to SSL host name for the SSO server is enabled for both SSL midtier host name and actual midtier host name on http port 80. So far so good, we are redirected to SSL SSO server from both http and https protocol on the midtier. After login, we are redirected back to the initial server name. However, every time we either:
    1) Access midtier SSL host name
    2) Access SSO server
    3) Are redirected from SSO server back to midtier SSL server we are prompt to accept a certificate. The certificate that exists is a demo certificate that came along with the installation. The feature of Cerificate Authenctication was not installed during initial installation.
    Does anyone know how to get a certificate to use with the environment. How is this certificate applied to this installation. Do we need one certificate for each of the installation sinces the http server is installed on separate nodes and further uses SSL in both cases.
    Hope that anyone has looked into this an haves some tip. Feel free to pop a mail to [email protected]
    rgds
    Kjell Ove

    In EID 3.1, the generate_ssl_keys utility is used to create a local CA and certificates for securing access to Endeca Server.  Studio uses these certificates/keys internally to access the secured Endeca Server.  These certificates are normally only used to internally secure Studio and Endeca Server (and Provisioning Service) communications.
    Securing Studio with SSL/TLS from the client browser to Studio is a separate task.  The documentation topic is http://docs.oracle.com/cd/E40518_01/studio.310/studio_security/toc.htm#Configuring%20SSL%20on%20the%20Studio%20application%20server which contains links to the application server topics.  This is primarily an application-server task - you would follow the instructions for the application-server and/or your certificate/CA supplier, so you end-up with trusted certificates.
    One common configuration is to secure Studio SSL/TLS terminated on a reverse-proxy such as OHS, so you may want to consider this option.

  • How we can get SSL certificate for any site?

    i want to know how can get SSL certificate for any website and what is the main benefit for particular website with the help of this certificate.

    Hi,
    Would you please let me know edition information of the SBS server? Was it SBS 2008 or SBS 2011?
    Based on your description, I’m a little confused with your question. Did you mean that want to know why need
    SSL certificate for website?
    Certificate Services and SSL protect sensitive information by encrypting the data sent between client browsers
    and your server.
    An SSL Certificate is used for two reasons (1) to validate the remote server to the client before the client sends any data to that server (2) to encrypt the data between the client and server over an un-secure network (ie. the Internet). You can use
    a self-issued certificate or a third-party trusted certificate. For more details, please refer to following articles and check if can help you.
    Managing Certificates
    SSL and Certificates
    Understanding Self-Issued
    Certificates in SBS 2003 & SBS 2008
    Installing a GoDaddy Standard
    SSL Certificate on SBS 2008
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft
    does not guarantee the accuracy of this information.
    If anything I misunderstand or any update, please don’t hesitate to let me know.
    Hope this helps.
    Best regards,
    Justin Gu

  • How to get certificates "signed" for SSL configuration

    I have configured EID 3.1 to use SSL, The generate_ssl_keys utility was used to generate the SSL certificates, but when we login to studio we get the "The site's security certificate is not trusted!" message. Has anyone got any advise on how to get the certificates generated signed by a CA?

    In EID 3.1, the generate_ssl_keys utility is used to create a local CA and certificates for securing access to Endeca Server.  Studio uses these certificates/keys internally to access the secured Endeca Server.  These certificates are normally only used to internally secure Studio and Endeca Server (and Provisioning Service) communications.
    Securing Studio with SSL/TLS from the client browser to Studio is a separate task.  The documentation topic is http://docs.oracle.com/cd/E40518_01/studio.310/studio_security/toc.htm#Configuring%20SSL%20on%20the%20Studio%20application%20server which contains links to the application server topics.  This is primarily an application-server task - you would follow the instructions for the application-server and/or your certificate/CA supplier, so you end-up with trusted certificates.
    One common configuration is to secure Studio SSL/TLS terminated on a reverse-proxy such as OHS, so you may want to consider this option.

  • How to Provide the Certificate Generation key while configuring WorkFlow Manager 1.0

    Hi,
    I am new to Workflow manager.I am configuring it in a SharePoint Farm with Allow Workflow Management over Http on this computer option.
    Its asking for Certificate Generation key for joining to the Farm.
    Could anyone help me how to get the Certificate Generation key.
    Please advice
    Thanks, Vijay Arul Lourdu

    we forgot the auto-generated Certificate
    Generation Key. Can you tell us the detail instructions to find it? Thanks.

  • PLEASE HELP! how to get certificat form a JarFile (NOT JarInputStream) ?

    Hi,
    I have a signed JAR-file.
    If I try to verify this file with "jarsigner -verify", I get OK.
    But if I want to get the certificat-chain from this JAR-file with
    "JarFile" and then "JarEntry", I receive only "null".
    For example I try it with this code:
    JarEntry entry;
    java.security.cert.Certificate[] dmCertChain;
    for (Enumeration enumJar2 = zipFile.entries();enumJar2.hasMoreElements() ;) {
    entry = zipFile.getJarEntry((enumJar2.nextElement()).toString());
    dmCertChain = ((JarEntry)entry).getCertificates();
    if(dmCertChain == null) {
              System.out.println("The entry has no certificate.");
    else {
              System.out.println(dmCertChain.length);
              for (int i = 0; i < dmCertChain.length; i++)
              System.out.println(dmCertChain<i>.toString());
    But my JAR-file is ok, because when I try it with "JarInputStream" and
    then "JarFile", I receive the correct certificate-chain.
    (I try it with getNextJarEntry())
    How can I read the certfication-chain from the JarFile?
    I searched the web for a solution, but i don't find an answer!
    So please HELP!

    I found the solution :-)
    I found in Java-api-doc the following sentence:
    "This method can only be called once the JarEntry has been completely verified by reading from the entry input stream until the end of the stream has been reached. Otherwise, this method will return null."
    So I added this lines to my code:
    // JarEntry must be completely verified by reading from the entry
    // input stream until the end of the stream has been reached.
    InputStream is = zipFile.getInputStream(entry);
    int c;
    while ((c = is.read()) != -1) {
    //do nothing here, just to make sure the whole stream is read
    bye

  • HT1541 how to get my redeem a code or gift certificate enter it here means

    how to get my redeem a code or gift certificate enter it here means

    Welcome to the user to User Technical Support Forum provided by Apple.
    Clearly state your Issue and the Troubleshooting Steps you have tried to Resolve it.
    Note: iTunes Gift Cards are only Valid in Country of issue

Maybe you are looking for

  • Getting Error while installing Exchange 2013 on server 2012

    Error During Exchange 2013 Mailbox Transport Role Install On Server 2012  Exchange Server forums  >  Exchange Server 2013 - Setup, Deployment, Updates, and Migration Question 1 Sign in to vote I was installing Exchange 2013 on Server 2012.  The serve

  • Playing a library from an external hard drive

    I recently got a new lap top. I have backed up my Itunes library from my desk top to my external hard drive. Is it possible to play my library from my external hard drive on my laptop without downloading all the songs directly on m laptop and taking

  • Pdf file on iweb site?

    Can I insert a pdf document to be downloaded from my iweb site? Thanks

  • Characters in String : Unicode 16-bit to custom 32-bit

    I understand that internally in Java, characters in Strings are actually Unicode characters, with each character represented with 16 bits. So, character �L� in Unicode is 0x004C which is also 0000 0000 0100 1100 Now, I wish to encode each of the 4 bi

  • Nobody is answering me...help please

    this was my question a couple of hours ago When I opened my Itunes today it told me there was a new version avallable.. So I accepted it and it stopped in the middle of the installation and told me ERROR 1335 THE CABINET FILE "ITUNES.CAB" REQUIRED IS