The web-proxy applet-sign-certificate enable command activates the Java applet signing certificate for web proxy. The certificate is used to re-sign the rewritten Java applet program.
The undo web-proxy applet-sign-certificate enable command restores the default certificate.
web-proxy applet-sign-certificate certificate-name private-key private-key-name private-password password enable
undo web-proxy applet-sign-certificate enable
| Parameter | Description | Value |
|---|---|---|
| certificate-name | Specifies the certificate file path and name. | The value is a string of 1 to 63 case-sensitive characters. It cannot contain spaces. The default path is the root directory of the CF card. For example, if Java applet signing certificate cert is stored in the root directory of the CF card, enter hda1:/cert or cert. |
| private-key private-key-name | Specifies the private key file path and name. | The value is a string of 1 to 63 case-sensitive characters. It cannot contain spaces. The default path is the root directory of the CF card. For example, if private key file key is stored in the root directory of the CF card, enter hda1:/key or key. |
| private-password password | Specifies the password for the private key. | It is a string of 1 to 31 case-sensitive characters. It cannot contain quotation marks ("), ampersands (&), question marks (?), or spaces. |
The device has a default Java applet signing certificate. To replace the certificate, upload the new certificate through FTP.
# Activate the Java applet signing certificate for web proxy. The certificate name is hda1:/cert, private key name is hda1:/key, and private key password is Hello@123.
<sysname> system-view [sysname] v-gateway gateway [sysname-gateway] service [sysname-gateway-service] web-proxy applet-sign-certificate hda1:/cert private-key key private-password Hello@123 enable