script signing 2

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Christian Schmitt

    script signing 2

    Hi,

    after doing some more research, I found the following article describing
    how to get a free code signing certificate:

    My experience using Java Web Start and digitially signing code.


    But I can't figure out how to use this to sign my javascript code.
    Netscapes signtool looks for the cert in some netscape databases, but
    how do I get the cert into these databases?

    Can anyone take my hand and guide me through this? I'm working on a
    linux machine, but can move to windows if necessary.

    Christian

  • Brian Genisio

    #2
    Re: script signing 2

    Christian Schmitt wrote:
    [color=blue]
    > Hi,
    >
    > after doing some more research, I found the following article describing
    > how to get a free code signing certificate:
    >
    > http://www.dallaway.com/acad/webstart/
    >
    > But I can't figure out how to use this to sign my javascript code.
    > Netscapes signtool looks for the cert in some netscape databases, but
    > how do I get the cert into these databases?
    >
    > Can anyone take my hand and guide me through this? I'm working on a
    > linux machine, but can move to windows if necessary.
    >
    > Christian
    >[/color]

    The link you sent has to do with code signing for Java code. This group
    is for JavaScript. Though the names are similar, Java and JavaScript
    are two completely different languages, used for different purposes.

    Try a Java newsgroup instead :)

    Comment

    • Martin Honnen

      #3
      Re: script signing 2



      Christian Schmitt wrote:
      [color=blue]
      > after doing some more research, I found the following article describing
      > how to get a free code signing certificate:
      >
      > http://www.dallaway.com/acad/webstart/
      >
      > But I can't figure out how to use this to sign my javascript code.
      > Netscapes signtool looks for the cert in some netscape databases, but
      > how do I get the cert into these databases?
      >
      > Can anyone take my hand and guide me through this? I'm working on a
      > linux machine, but can move to windows if necessary.[/color]

      If you use Preferences->Privacy & Security->Certificates->Mangage
      Certificates->Your Certificates->Import you should be able to import a
      certificate into Netscape 7.
      Not sure whether that then helps with signtool.
      --

      Martin Honnen


      Comment

      • Christian Schmitt

        #4
        Re: script signing 2

        Brian Genisio wrote:[color=blue]
        > The link you sent has to do with code signing for Java code. This group
        > is for JavaScript. Though the names are similar, Java and JavaScript
        > are two completely different languages, used for different purposes.
        >
        > Try a Java newsgroup instead :)
        >[/color]

        I know, that's why I need help in applying this certificate to my
        javascript project. I have some experience in Javascript programming,
        but code signing is something completely new for me. I would greatly
        appreciate any hints on where to look for more information, especially
        concerning this free cert. It looks like this:
        -----BEGIN PKCS #7 SIGNED DATA-----
        ....
        some ascii data
        ....
        -----END PKCS #7 SIGNED DATA-----

        Christian

        Comment

        • Christian Schmitt

          #5
          Re: script signing 2



          Martin Honnen wrote:[color=blue]
          >
          >
          > If you use Preferences->Privacy & Security->Certificates->Mangage
          > Certificates->Your Certificates->Import you should be able to import a
          > certificate into Netscape 7.
          > Not sure whether that then helps with signtool.[/color]

          The problem seems to be that netscape expects a PKCS12 file, but I have
          a PKCS7 file. I don't know what's the difference, but it won't import my
          certificate.

          Christian

          Comment

          Working...