Problems printing out a trusted certificate

When trying to print a trusted certificate (generated with OpenSSL) exported from my keystore, I get the following exception:
Exception occurred during event dispatching:
java.lang.IllegalArgumentException: DER Value conversion
Trying to print this certificate from my own application has the same result:
Exception occurred during event dispatching:
java.lang.IllegalArgumentException: DER Value conversion
at sun.security.x509.AVA.toString(AVA.java:341)
at sun.security.x509.RDN.toString(X500Name.java:888)
at sun.security.x509.X500Name.generateDN(X500Name.java:597)
at sun.security.x509.X500Name.toString(X500Name.java:394)
at sun.security.x509.CertificateSubjectName.toString(CertificateSubjectName.java:78)
at sun.security.x509.X509CertInfo.toString(X509CertInfo.java:304)
at sun.security.x509.X509CertImpl.toString(X509CertImpl.java:575)
Can anybody give me a hint whats going on?
Thanks,
Thomas

A bit late, but I solved a similar problem.
It looks like the DN in the servercertificate has an empty value or space in it, which it cannot handle. Using a certificate with all the DN fields filled, might solve the problem.

Similar Messages

  • Problem printing out to a parallelport printer

    Hello, I am using the javax.comm.*; package and I am having problems
    printing to the parallelport.
    Well, it prints out the string but the problem is that the light for paper feed
    starts blinking eventhough there is paper , once I click the paper feed button
    the printer then prints out the string.
    So, basically, everything is ok, apart from that I have to press the paper feed
    button for each time I want to print something.
    There is an error in my code somewhere, but as I am new to port communications I cannot understand what to do.
    Below is my code, please help.
    Thanks!
    public void print(String s){
    Enumeration ports;
    CommPortIdentifier portId;
         try{
              portId = CommPortIdentifier.getPortIdentifier("LPT1");
             addPort(portId,s);
         }catch (NoSuchPortException e){
                     e.printStackTrace();
    public static void addPort(CommPortIdentifier portId,String s){
         try{
              ParallelPort port = (ParallelPort)portId.open("LPT1",2000);
            /*port.notifyOnError(true);
            port.notifyOnBuffer(true);
            port.addEventListener(new ParallelPortEventListener(){
                   public void parallelEvent(ParallelPortEvent ppe){
                           System.out.println(ppe.toString());
                           System.out.println("An event has occured");
              try{
                   OutputStream os = port.getOutputStream();
                   if(os == null){
                        System.out.println("Os is null");
                   else{          
                          os.write(s.getBytes());
                   //os.flush();
              catch(Exception eis){
                   eis.printStackTrace();
              port.close();
         catch(PortInUseException e){
              System.out.println(e.currentOwner);
              e.printStackTrace();
         catch(Exception ecl){
              ecl.printStackTrace();
    }Of course this class imports :
    import java.util.Enumeration;
    import javax.comm.*;
    import javax.comm.CommPort;
    import javax.comm.CommPortIdentifier;
    import javax.comm.ParallelPort;
    import javax.comm.NoSuchPortException;
    import javax.comm.PortInUseException;
    import java.io.*;

    Wow - I wonder how the OP thought that the
    Developers Home > Developer Forums > Java Forums >
    Java Mobility Forums > Consumer and Commerce >Consumer and Commerce General >
    Forum was a correct choice for this problem??It's the same logic that leads one to believe that being new to port communications omits them from the responsibility of using general troubleshooting techniques to isolate/identify a problem.
    This logic often leads to obscure questions also, sadly.

  • I have a problem printing out my contact book.

    I have and iMac with Mountain Lion.  My pbroblem is printing out my contact book of 102 contacts.  The contact book is arranged alphabetically by last name, but when I print it, it is printed in a random order.  What is my problem and what shoulld I be doing to correct this problem?

    Please describe the problem.  No one can help you unless you tell us what the problem is.

  • Problems printing out of PS CS5 with Epson 4800 using latest epson driver

    This is my first post here at the forum.
    Has anybody experienced the following:
    While printing out of Photoshop CS5 12.0.1 with an epson 4800, using the latest driver (6.65), the following happens:
    Around the document, the printable space is filled with a very light colour.
    (If I print an emty canvas, the canvas will not be printed  - as expected - but around, the paper shows ink.)
    I already talked to Epson about the issue.
    We went through the whole printer reset, to make shure it´s not a driver issue)
    The picture shown is printed several (5-6) times to better see the problem.
    I did not select to print a background in the print dialogue.
    Does not matter if PS 32bit or 64 bit is used.
    OS is Snow Leopard 10.6.4
    (Rosetta is installed, but should not be needed)
    So, has anybody had similar problems?
    Is there a solution?

    Look at this new driver update..  Will test as soon as my new cartridges arrive..
    Drivers & Support: Epson Stylus Pro 3800
    Back to all support options for Epson Stylus Pro 3800
    DownloadMac OS X Common Updater  {v.5.0:} 28-Dec-2010, 35.0MBs
    Operating Systems:
    Mac OS X - PowerPC, Mac OS X - Intel
    Languages:
    English, Français, Nederlands, Deutsch, Español, Italiano, Portugues
    Products:
    Epson Stylus Pro 11880, Epson Stylus Pro 3800, Epson Stylus Pro 3880, Epson Stylus Pro 4000, Epson Stylus Pro 4400, Epson Stylus Pro 4450, Epson Stylus Pro 4800, Epson Stylus Pro 4880, Epson Stylus Pro 4900, Epson Stylus Pro 7400, Epson Stylus Pro 7450, Epson Stylus Pro 7600, Epson Stylus Pro 7700, Epson Stylus Pro 7800, Epson Stylus Pro 7880, Epson Stylus Pro 7890, Epson Stylus Pro 7900, Epson Stylus Pro 9400, Epson Stylus Pro 9450, Epson Stylus Pro 9600, Epson Stylus Pro 9700, Epson Stylus Pro 9800, Epson Stylus Pro 9880, Epson Stylus Pro 9890, Epson Stylus Pro 9900
    WHQL Certified:
    No
    File Format:
    DMG
    Additional Information:
    Improvements:
    Improved behaviour when printing on custom media.
    Improved printer pool function.
    Improved empty cartridge display in the driver utility panel

  • My HP Photosmart C7280 All-in-One printer won´t print out documents, just pictures ...

    My HP Photosmart C7280 All-in-One printer won´t print out documents, just pictures. I´ve used the printer, since it was new on the marked, and it has worked perfectly until a few weeks back. There is no problem printing out pictures, but only blank pages comes out when I´m printing out documents. Regardless if it is Word, Excel etc.
    I´ve never used anything else than original cartridges, and the printer is used on Mac OS X 10.7.4. I´ve tried to reinstall the printer several times without any success.
    Can anyone help me?

    Hello,
    Please print a Self - Test report.
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01448018&cc=us&dlc=en&lc=en&product=3204785&tmp...
    Can you see any of the colors as appear on the report sample?
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Self assigned or trusted certificate for no Gateway scenario

    hi,
    1.  RDS server 2012 R2 is deployed and I can access published app by
    https://servername/rdweb
    2.  RD Gateway will be never used (only LAN connections)
    3. Would self signed certificate prevent to achieve THE GOAL:
    need to publish an app by providing shortcut on user desktop in completely transparent for user manner.
    There is no problem with purchasing a Trusted certificate. I thought that trusted will be necessary (less hassle) if RD Gateway is in place. But still have a feeling that even for publishing a shortcut there will be some pop up after user click on an icon
    if Self Assigned will be present.
    Please clarify.
    Thanks.
    "When you hit a wrong note it's the next note that makes it good or bad". Miles Davis

    Hi,
    Thank you for posting in Windows Server Forum.
    As per my research, I can say that to work with RemoteApp we must have trusted certificate. By default, the self-signed certificate is not a trusted certificate, and self-signed certificates are recommended only for testing and evaluation purposes. We must
    need to purchase trusted certificate from trusted root certification authority. After we have obtained a trusted certificate for the RD Web Access server, we must import the certificate onto the RD Web Access server, and then use the Internet Information Services
    (IIS) Manager tool to associate the certificate with the RD Web Access Web site.
    More information.
    About RemoteApp and Desktop Connection Security
    http://technet.microsoft.com/en-us/library/ee216760.aspx
    Certificate Requirements for Windows 2008 R2 and Windows 2012 Remote Desktop Services
    http://blogs.technet.com/b/askperf/archive/2014/01/24/certificate-requirements-for-windows-2008-r2-and-windows-2012-remote-desktop-services.aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • Trusted certificate expired when starting cluster domain

              I follow the instructions in doc to create one cluster domain with 2 managed servers,
              one proxyServer, then I found out the trusted certificate error, is that I must
              get the trusted certificate from BEA? I use the weblogic server 8.1 downloadable
              from bea site.
              

    Hi,
    Verify that the correct trusted CA certificate and keystore are being used.
    http://e-docs.bea.com/wls/docs81/messages/Security.html#BEA-090088
    Regards,
    Prasanna Yalam

  • I cant print out Chinese Characters

    My ibook won't print out Chinese characters at my local 711 here in Taipei? (A Chinese speaking city, needless to say). Its not an issue of Traditional versus Simplified characters and the files are downloaded language transcripts from a learning site I belong to.
    And there is no problem printing out Japanese Kanji which are simply Chinese characters adopted into Japanese.
    Any suggestions on what is wrong here. The learning site doesn't seem to have any idea beyond saving it as a pdf file and trying again. This hasn't worked.

    Tom.
    Yes, the printer is in a 711. Totally generic - Kyocera, every 711 has the same. I connect via usb cable and yes, the documents do display correctly on screen. The application being used is Apples own, I believe, but I have tried Adobe - with no luck.
    Thanks for the Chinese-Mac mailing list.
    The following two suggestions are from the technical help forum of my language learning site:
    1.In your printer options, do you have anything that says "print truetypes as bitmaps" or something like that? That should solve it.
    2. You are talking about printing the pdf's right? If this is the case it is simply a matter of your printshop not having the necessary fontfiles installed. A possible work around is to select all the text in the PDF. Copy+Paste this into word using a widely distributed unicode font like Arial. Then try to print these .doc files at your printshop. If you copy+past the stuff, it will give you a possibility to leave out the traditional or simplified (whatever) you don't need + possibly some titles and logo's and thereby reducing the overall number of pages. Which is a good thing if you are charged by the page.

  • How to print out contents of an object

    Hello, I am having a problem printing out the contents of an object I have created.
    ListReturn test = new ListReturn("ADMNTEST", "JUL", "2002", con);
    System.out.println(test);I see this:
    com.home.tools.reporting.ListReturn@6cd7d5
    But my "test" varible should be populated with a collection. How can I print out my object????

    One of the methods in your Object should be public String toString().
    In this method, iterate over the collection in your object and print out the bits of readable data you think would be useful to display and append it to the end of a String that you return.

  • Firefox only prints out a portion of my billing statement, but it prints correctly in Internet Explorer. How do I format or change settings in Firefox to correct this problem?

    My Account Activity page for my checking account has an eight column listing ie: date, type, description, debit, credit, balance, etc.
    Only the first five columns print out regardless of how much I scale the printing size down. It prints out fully and correctly when I use Internet Explorer browser to view the bank website.

    I've encountered a similar problem with HTML email sent from Outlook once before. I had to manually edit the HTML file and then display it in my browser and it printed fine. I don't recall the exact problem, but it had something to do with malformed HTML tags. Whatever they used to generate the HTML document, it was putting in bad tags at the ends of lines (like to force a line wrap) and when printed, this would instead function as a cutoff of the right side of the text. (the HTML parser in FF - in my case Thunderbird, would simply ignore everything after these bad tags, as it probably should)
    If you don't know about HTML find someone who does that you trust to look at the document and manually edit it for you. Someone familiar with basic HTML should be able to spot and fix the problem in about 5 minutes. Short of that, see if your bank can send them via email in PDF instead, but regardless be sure to inform them their documents are not created properly. The problem is most likely on their end, not yours, and not with FF.
    EDIT-------------
    Just remembered something.
    There are two add-ons you might be interested in:
    IETab - it uses the Trident web engine to display the web page. (what IE uses) It should essentially work just like IE, but from within FF.
    User Agent Switcher - I use this more frequently as all it does is tell the webserver that I am using IE and not FF. (even though I am using FF) and voila! I get the page delivered correctly with all intended functionality. (Odd, I know - chalk it up to lazy and ignorant web developers)
    Both may be of use to you, the second is more secure, and either should be a work around to solve your problem that won't involve editing or knowing HTML.

  • Problem in Print Out of ALV report

    Dear All..
    I am trying to take print out of an ALV report. there are 36 columns in my report. when i try to take print out, warning appears which says system cannot print the last 277 columns of report.
    i have tried using different formats for printer like :
    Format                  Description
    X_PAPER                 ABAP/4 list: Default list formatting
    X_SPOOLERR          ABAP list: Spooler problem report
    ZX_65_284               65 Rows and 285 Columns
    X_65_255                ABAP/4 list: At least 65 rows with a maximum number of c
    X_65_200                ABAP list: at least 65 lines with 200 columns (not for a
    X_58_170                ABAP/4 list: At least 58 rows by 170 columns
    X_65_132                ABAP list: At least 65 rows by 132 columns
    X_90_120                ABAP list: At least 90 rows by 120 columns
    X_44_120                ABAP/4 list: At least 44 rows by 120 columns
    X_65_80                 ABAP/4 list: At least 65 rows by 80 columns
    but every time the same message appears even on A3 size paper..
    i am using REUSE_ALV_GRID_DISPLAY to display ALV.
    Please help to to take out prints(can be in condensed mode) so that all columns appear on the print out..

    HI sujeet,
    Thanks for ur response. i had already checked the printer settings.. i think there is no problem with this. Can u Please suggest something else. thanks
    Hiii jyojit..
    Thanks for reply. I had already checked the said check box in spool admin. but the problem still exists. Please suggest something to get rid of the problem.

  • Problem report only print out when i click back button

    hi all..i having problem with my report print program. the problem is my report did not immediately print out when i click print button. the program require me to click back button before print out execute. please help me to solve this problem. Thank you.
    Edited by: padile on Jan 7, 2010 3:51 AM

    Hi,
    In your program, mention the following:
    DATA: gs_out_opt TYPE ssfcompop.
    gs_out_opt-tdimmed = 'X'           "Print immediately
    CALL FUNCTION lv_fname         "Smartform FM
          EXPORTING
            output_options     = gs_out_opt  
    Regards,
    Dawood.

  • ALV Report with Logo .. Print Out Problem

    Hello Guys..
    I am facing and differerent problem , I have created one Report in ALV contain logo of my company and some other details as per selection screen.
    At the time of taking printoput the logo is not coming in print out only report data is  coming.
    How I take logo and ALV report in one print out .
    Please do the needful.
    Regards
    Swati....

    We Can't take logo of ALV in print out.

  • Alv report Print out Problem

    Hi Experts,
       I am having problem while taking print out of Alv report format. In that report, 1 column contains  Unit  Values.
    Eg.  Unit value - 'LE' , AFTER USING CONVERSION EXIT LOGIC it is converted into 'AU'  which is finally displayed in the Alv -Report display format. 
    while taking Print-out of that report , that field Unit Value 'AU' is Shown in this format  "****'.
    Please give me your Valuable Suggestions.
    Thanks and Regards
    BalaNarasimman M

    while defining filed catalog define the data type also
      clear l_fieldcat.
      l_fieldcat-fieldname  = 'MEINS'.
      l_fieldcat-datatype = 'UNIT'.
    l_fieldcat-no_out     = ' '.
      l_fieldcat-do_sum = 'X'.
      l_fieldcat-seltext_l  = 'UOM'.
      append l_fieldcat to p_fieldtab.
    may be it would help.
    anya

  • VF02 Print Out Problem

    Hi all,
    We are facing the problem while taking the print out from VF02.
    We are using ZFORM designed by our ABAPer.
    While using standard form (LB_BIL_INVOICE) its working and while using ZFORM, we are able to see the print preview but not able to take the print out.
    Error message is shown as given below
    "Output could not be issued"
    Message no. VF304
    Diagnosis
    An error occurred while output was being issued. It is possible, for example, that the form to be issued has not been activated or has an error. An error may also have arisen while the data to be issued was being edited.
    Procedure
    Check possible causes of the problem.
    Thanks in advance,
    Babs

    Hi babs
    Go to VV32 and check wheather the condition record has been maintained or not.In VV32 .
    check the access sequence  , wheather it is billing type / payer in your output type RD00 .so only for that particular payer only that ouput may be generating . .But also see in the V/40 wheather for the billng type the ZFORM which you have created  has been assigned or not .
    Regards
    Srinath

Maybe you are looking for

  • File type filter mystery

    I am filtering by file type because I want to make sure all of my RAW (NEF) files are converted to DNG. When I now filter by RAW within the file type I have 467 files there. These files are DNG files and I cannot figure out why they are showing up as

  • Import vs full package name

    So, I decided to fumble a bit with JavaFX. After having gotten myself a sh*tload of stress doing stuff in Flash and Actionscript, I'm ready for something that is intended as "code" from the ground up. One thing I ran into is this: AFAIK I have two id

  • Unable to upgrade EmailAddressPolicy

    Hi, while migrating a Exchange 2003 to 2010 I tried upgrading the Default Email Address Policy with Set-EmailAddressPolicy "Default Policy" -IncludedRecipients AllRecipients But this fails with 7157D1AB,Microsoft.Exchange.Management.SystemConfigurati

  • PC Music Library Corrup

    How do I fix an error message like this. I went to Microsoft and downloaded Msjet40.dll as instructed, said version I have is newer. Now what, John in Oregon

  • Mail Notification Sound + DVD Player

    Does anyone know of a way to have mail turn off it's "new mail" sound effect when DVD Player is running?