How do I get a valid keystore file?

I want to self-sign my first Adobe AIR application and I'm
having trouble getting a valid keystore file. It says that it is
"not an X509 code-signing certificate". I am on Mac OS X and on a
terminal I tried to use openssl to make a certificate. This is what
I did:
$ openssl genrsa -des3 -out daniel.key 1024
$ openssl req -new -key daniel.key -out daniel.csr
At this point I didn't know how to use the CSR to get a
certificate, or the PKCS12 file that Adobe AIR needs. So I signed
up with a free CA (CAcert), gave them the CSR and they gave me a
certificate file. I saved it as "daniel.crt". Then I ran:
$ openssl pkcs12 -export -in daniel.crt -inkey daniel.key
-out daniel.p12
But when I tried to use daniel.p12 to package my application
ADT claimed that it was "not an X509 code-signing certificate":
$ adt -package -storetype pkcs12 -keystore daniel.p12 Foo.air
Foo-app.xml Foo.html lib
password: foo
not an X509 code-signing certificate
I hope someone here can help me. I just want to be able to
package a simple hello-world application. I want to self-sign it.
What do I do? I'm stuck! Any help would be really appreciated.
Daniel.

Aha! I found the solution:
$ adt -certificate -cn name key_type pfx_file password

Similar Messages

  • I had renamed my user login name and assumed that there will be no change in the settings and files. When I login with the new profile name everything is gone. How can I get back all my files and settings?

    I had renamed my user login name and assumed that there will be no change in the settings and files. When I login with the new profile name everything is gone. How can I get back all my files and settings? Please help. Thanks.

    You should have asked this before you tried: Changing username or short name- User Account and Short Name- OS X- How to change user account name or home directory name.

  • HT1660 i have two independent itunes libraries on my computer right now. how do i consolidate them into one library? how do i get rid of duplicate files?

    i have two independent itunes libraries on my computer right now. how do i consolidate them into one library? how do i get rid of duplicate files?

    Hello rmunsey,
    Thank you for the question.  It sounds like you have two separate iTunes Libraries but would like to add the music from one to the other to have one consolidated library.
    If you know where the files are for each library, I recommend opening one iTunes Library in iTunes and importing the files from the other library using the following steps:
    Open iTunes
    From the File menu, choose one of the following choices:
    MacAdd to Library
    Windows
    Add File to Library
    Add Folder to Library
    Navigate to and select the file or folder that you want to add
    Adding music and other content to iTunes
    http://support.apple.com/kb/ht1473
    Next, you can search for duplicates:
    Choose View > Show Duplicate Items to show duplicate items (matches are based on the song name and artist). If you have multiple versions of the same song (for example, live and studio versions, or versions from different albums) you can hold the Alt or Option key (for Mac OS X) or the Shift key (for Windows) and choose View > Show Exact Duplicate Items. This will show only duplicate songs having the same name, artist, and album.
    How to find and remove duplicate items in your iTunes library
    http://support.apple.com/kb/ht2905
    This should help you identify the duplicates all at one time so that you can delete the extra versions of songs.
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • How do I get an embedded quicktime file to appear "activated" w/playback & volume upon opening PDF?

    I am new to adobe acrobat, and I'm using version 8.  I am trying to insert quicktime videos in a PDF File.  I have figured out how to insert the video files and embed them in the PDF.
    However, when I save the PDF, close it, and then re-open the it, the quicktime file does not appear.  If I don't use a poster image, then it is just blank where the file is, but the file is there, and when I click on the empty space where I know that it has been embedded a dialog box opens about playing it just this once, or making it a trusted file, etc.  Then it plays, and the volume and playblack controls, along with the background, are visible. (it is actually just an audio track in a quicktime file, so nothing is playing but the audio, and the background is solid black.  I have set it up so that it stays there once activated.
    What I want is for the volume and playblack controls and the black background to appear as soon as you open the PDF file, without having to click in the blank area where the file has been inserted.  This is going to be part of a portfolio that I am submitting for a school program, so I need the person that is opening it to be able to clearly see where the file is, and see the playblack and volume controls so that he can playback the file.
    So how do i get the embedded quicktime file to automatically show up in "activated" mode, with the playback and volume controls visible and ready to be used?
    Any help would be greatly appreciated.
    Thanks...

    If the video is only linked it would reduce the file size of the pdf and it would make it accessible for people opening on a device (like iPad) which does not allow flash which must be installed with Acrobat to view embedded media.
    But I would recommend to send the people only a link to the PDF. I hate it, when my iPhone filled with useless stuff, if I would like to see it I could donwload, but as attachment make my space overfilled.

  • How can I get a single jar file with NetBeans?

    How can I get a single jar file with NetBeans?
    When I create the project I get these files:
    dist/lib/libreria1.jar
    dist/lib/libreria2.jar
    dist/software.jar
    The libraries that have been imported to create the project are in separate folders:
    libreria1/libreria1.jar
    libreria2/libreria2.jar
    libreria1, libreria2, dist folders are all located inside the project folder.
    I added the following code to the build.xml:
    <target name="-post-jar">
    <jar jarfile="dist/software.jar">
    <zipfileset src="${dist.jar}" excludes="META-INF/*" />
    <zipfileset src="dist/lib/libreria1.jar" excludes="META-INF/*" />
    <zipfileset src="dist/lib/libreria2.jar" excludes="META-INF/*" />
    <manifest>
    <attribute name="Main-Class" value="pacco.classeprincipale"/>
    </manifest>
    </jar>
    </target>
    Of course there is also the project folder:
    src/pacco/classeprincipale.form
    src/pacco/classeprincipale.java
    Can you tell me what is wrong? The error message I get is as follows:
    C:...\build.xml:75: Problem creating jar: archive is not a ZIP archive BUILD FAILED (total time: 2 seconds)

    This is not a NetBeans forum, it is a JDeveloper forum. You might want to try http://forums.netbeans.org/. I also saw your other question - try looking in the New to Java forum: New To Java

  • How can we get  tag of XML file using SAX

    Hi ,
    I'm parsing one SAX parser , I'have almost done this parsing. i have faced problem for one case, i'e how can we get tag from XML file using SAX parser?
    XML file is
    <DFProperties>
    <AccessType>
    <Get/>
    </AccessType> <Description>
    gdhhd
    </Description>
    <DFFormat>
    <chr/>
    </DFFormat>
    <Scope>
    <Permanent/>
    </Scope>
    <DFTitle>gsgd</DFTitle>
    <DFType>
    <MIME>text/plain</MIME>
    </DFType>
    </DFProperties>
    I want out like GET and Permanent... means this one tag which is present inside of another tag.
    Handler class like
    public void startElement(String namespaceURI, String localName,
                   String qName, Attributes atts) throws SAXException {
    if(_ACCESSTYPE.equals(localName)){
                   accessTypeElement=ACCESSTYPE;
    public void characters(char[] ch, int start, int length)
                   throws SAXException {
    if (_ACCESSTYPE.equals(_accessTypeElement)) {
                   String strValue = new String(ch, start, length);
                   System.out.println("Accestype-----------------------------> " + strValue);
                   //System.out.println(" " + strValue);
    public void endElement(String namespaceURI, String localName, String qName)
                   throws SAXException {
    if (_ACCESSTYPE.equals(localName)) {
                   _accessTypeElement = "";
    . please any body help me

    Hi ,
    I have one problem,Please help me.
    1. How can I'll identify where exactly my Node is ended,means how how can we find corresponding nodename? in partcular place
    <Node> .............starttag1
    <NodeName>Test</NodeName>
    <Node>................starttag2
    <nodeName>test1</NodeName>
    </Node>..................endtag2
    <Node>.....................starttag3
    <NodeName><NodeName>
    <Node> .........................starttag4
    <NodeName>test4</NodeName>
    </Node>.......enddtag4
    </Node>...........end tag3
    </Node>............endtag1
    my code is below
    private final String _NODENAME = "NodeName";
    private final String _NODE = "Node";
    private String _nodeElement = "";
         private String _NodeNameElement = "";
    public void startElement(String namespaceURI, String localName,
                   String qName, Attributes atts) throws SAXException {
    if (_NODENAME.equals(localName)) {
                   NodeNameElement = NODENAME;
    if(_NODE.equals(localName)){
         System.out.println("start");
         if (_NODENAME.equals(localName)) {
                   NodeNameElement = NODENAME;
    public void characters(char[] ch, int start, int length)
                   throws SAXException {
    if (_NODENAME.equals(_NodeNameElement)) {
                   String strValue = new String(ch, start, length);
                   String sttt=strValue;
                   System.out.println("NODENAME: ************* " + strValue);
    if(_NODE.equals(_nodeElement)){
                   if (_NODENAME.equals(_NodeNameElement)) {
                        String strValue = new String(ch, start, length);
                        String sttt=strValue;
                        System.out.println("nodevalue********** " + strValue);
    public void endElement(String namespaceURI, String localName, String qName)
                   throws SAXException {
    if (_NODENAME.equals(localName)) {
                   _NodeNameElement = "";
    if(_NODE.equals(localName)){
                   System.out.println("NODENAME: %%%%%%%%%");
    please help me. How can I figure node ending for particular nodename

  • How should we get the out put file-name same as in put file-name in file to

    Hi frnds,
    having hundreds of files in the sender system with different names, how should we get the out put file-name  in the receiver system same as the in put file-name in file to file scenario ?
    Thanks in advance.
    truly,
    snrvakiti.

    Hi,
    In Receiver File Adapter you can set under 'Adapter-Specific Message Properties'
    check Use Adapter-Specific Message Properties
    check Fail on Missing Adapter Message Properties
    Check File Name
    Have a look at this link,  [File_to_File|http://allsapnetweavernotes.blogspot.com/2008/09/how-can-i-access-filename-from-fileftp.html]
    Regards,
    P.Rajesh

  • I downloaded CS6 Red Plug-In and added to Package Contents, replaced the current files with the new without backing up, now my RED footage thumbnails and color-correction don't WORK! How do I get my old importerRed file back!!?? HELP!

    I downloaded CS6 Red Plug-In and added to Package Contents, replaced the current files with the new without backing up, now my RED footage thumbnails and color-correction don't WORK! How do I get my old importerRed file back!!?? HELP!

    Try asking in the Premiere Pro  forum seems to be an Adobe Lab for Premiere Pro

  • How do I get new SpamAssassin cf files?

    When spamtrainer runs, I get the following message:
    config: configuration file "//usr/share/spamassassin/20bodytests.cf" requires version 3.000001 of SpamAssassin, but this is code version 3.001005. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /Library/Perl/5.8.6/Mail/SpamAssassin/Conf/Parser.pm line 344.
    How do I get the new cf files? I never updated SA manually, so all mail service related files should have been updated by SoftwareUpdate. Is it just that the newer version of SA doesn't look in the /usr/share/spamassassin directory anymore?

    Hi Alex,
    I went through my upgrade notes and found an entry back in 2004. I apparently ran the CPAN command for Mail::SpamAssassin on this server by mistake and SpamAssassin was overwritten with v.3.1.5. *spamassassin -V* confirmed it. I wonder why spamtrainer decided to tell me now all of a sudden.
    Anyway, I thought this would be a good time as any to update SpamAssassin... and because of the Perl modules, Amavis. Your notes on Topicdesk was a big help.
    One thing I don't like about the newest Amavis is that the start/stop/reload command is a hassle to type during the install and debug process (I made shortcut executables in ~/bin). I guess now that it's installed and working, I would never have to type those commands again.
    Thanks for your help!

  • How do i get a created pdf file to my desktop

    how do i get a created pdf file to my desktop

    Hello,
    You can't create pdf using Adobe Reader. You need Adobe Acrobat to create pdfs, for more on Acrobat, please refer - http://www.adobe.com/products/acrobat.html
    Also you can subscribe for our CreatePDF service here - https://www.acrobat.com/en_gb/products/pdf-pack.html
    ~Deepak

  • How do I get a 3ga audio file to play on iphone 4s?

    How do I get a 3ga audio file to play on iphone
    4s?

    You don't need to download an App.
    My understanding is that you simply have to change the file extension from .3ga to.mp3 (on each file) and then they should play.
    That said, it works on a Macbook Pro - I've just tried it.
    Not sure about iOS though.
    Please reply if it works for you.

  • I accidentally deleted an Application on my iphone 5 and with it lost important files. How do i get back these files. The last iphone backup sync was after this so I cant even access an older back up as I cannot find them. How do I get back my Lost files.

    I accidentally deleted an Application on my iphone 5 and with it lost important files. How do i get back these files. The last iphone backup sync was after this so I cant even access an older back up as I cannot find them. How do I get back my Lost files.

    On your iMac launch iTunes and at the top next to the Apple symbol click iTunes > Preferences > Devices and tell me what you see. You last sync should be there showing only a device name. If you have an older backup it will be there as well the difference is it will be the device name with a date and time stamp. Sync and backups are two different things and there is a chance iTunes made a backup the first time you hooked up your iPhone 5. 

  • How do I get rid of a file that is still stuck in the trash can

    How do I get rid of a file that is still stuck in the trash can

    Hold the option key when emptying the trash
    Jerry

  • How do I get a profile / .per file from a EPMA application this is for HFM

    I want to copy an EPMA application into another environment but outside of EPMA. I can get the metadata, Security and Rules Extracts. How do i get the .per periods file to set up the classic application.

    Hi Raul,
    Thanks for the help. What I was trying to do is extract one from an existing application. But I guess it is easy enopugh to set one up from scratch. I wasnt sure of the start period of the app that i wanted duplicated, but opening it in the classic app client, and dropping down on the year dimension gives us the info.
    Thanks for your help.
    Vivek

  • How can I get rid of other files on my mac ?

    how can I get rid of other files on my mac ?

    Hope this helps.
    1. Empty Trash.
        http://support.apple.com/kb/PH10677
    2. Delete "Recovered Messages", if any.
        Hold the option key down and click "Go" menu in the Finder menu bar.
        Select "Library" from the dropdown.
        Library > Mail > V2 > Mailboxes
        Delete "Recovered Messages", if any.
        Empty Trash. Restart.
    3. Repair Disk
        Steps 1 through 7
        http://support.apple.com/kb/PH5836
    4. For more on this and very helpful tips:
        http://pondini.org/OSX/DiskSpace.html
        http://pondini.org/OSX/LionStorage.html
    5. Disk space / Time Machine ?/ Local Snapshots
       http://support.apple.com/kb/ht4878
    6 Re-index Macintosh HD
       System Preferences > Spotlight > Privacy
       http://support.apple.com/kb/ht2409

Maybe you are looking for

  • How to Tween in Flex

    I'm trying to use an imported Tween class (gs.TweenLite) in Flex to animate an object. Everything works well until I try to use easing-- then it does not work. The problem seems to be that it will not recognize the following: import fl.motion.easing.

  • WJA - Failed Alerts - Data Collection Inaccuracies

    I have been running Web Jetadmin v10.2.7491B on a 2003 server for about 3 years. There are 120 managed printers consisting of 9 different models. Issue #1 Initially I had alerts configured on all printers that would send an email when a consumable dr

  • Directory List from XML

    I would outsource this section of a Flash site to someone who understands actionscript and xml. The section that needs to be created is a project title directory. The project title list or directory: 1. needs to be created from an existing XML file.

  • Problem in browsing in nokia e6.....

    dears, iam facing a problem in recievng service reply after having a call or after sending a message. Untill i recieve that service message, my net connection wont get reconnected and thus iam compelled to switchoff my set again and again to regain t

  • A warning 'channel' ?

    Hello. Consider a method such as:ResultObject get(int requestSize){ } this method will attempt to service the request and return a result who's size is 'requestSize'. However, what if the the method could only provide half the request? We already hav