24.08.2015 Views

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Author</strong> Developer Guide | 261Figure 114: <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> Component deployed as a Java appletGenerate a Testing Certificate For Signing an AppletAll jar files of an applet deployed on a remote Web server must be signed with the same certificate before the applet isdeployed. The following steps describe how to generate a test certificate for signing the jar files. We will use the toolcalled keytool which is included in the Oracle's Java Development Kit.1. Create a keystore with a RSA encryption key.Invoke the following in a command line terminal:keytool -genkey -alias myAlias -keystore keystore.pkcs -storetype PKCS12-keyalg RSA -keysize 2048 -dname "cn=your name here, ou=organization unitname, o=organization name, c=US"This command creates a keystore file called keystore.pkcs. The certificate attributes are specified in the dnameparameter: common name of the certificate, organization unit name (for example Purchasing or Sales Department),organization name, country.2. Generate a self-signed certificate.Invoke the following in a command line terminal:keytool -selfcert -alias myAlias -keystore keystore.pkcs -storetype PKCS123. Optionally display the certificate details in a human readable form.First, the certificate must be exported to a separate file with the following command:keytool -export -alias myAlias -keystore keystore.pkcs -storetype PKCS12 -filecertfile.cer

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!