Content-Type - H3C MSR Series Command Reference Manual

Comware 7 security
Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

Default
Certificate authentication is disabled.
Views
SSL VPN context view
Predefined user roles
network-admin
Usage guidelines
After you enable certificate authentication, you must also execute the client-verify command in SSL
server policy view. The SSL VPN gateway uses the digital certificate sent by an SSL VPN client to
authenticate the client's identity. If the client's username and the username in the digital certificate
are not the same, the client cannot log in to the SSL VPN gateway.
Examples
# Enable certificate authentication.
<Sysname> system-view
[Sysname] sslvpn context ctx
[Sysname-sslvpn-context-ctx] certificate-authentication enable
Related commands
client-verify enable

content-type

Use content-type to configure a file policy to rewrite a file in an HTTP response to a specific type of
file.
Use undo content-type to restore the default.
Syntax
content-type { css | html | javascript | other }
undo content-type
Default
A file policy rewrites a file carried in an HTTP response to a file of the type indicated by the
content-type field in the HTTP response.
Views
File policy view
Predefined user roles
network-admin
Parameters
css: Changes the file type to CSS.
html: Changes the file type to HTML.
javascript: Changes the file type to JavaScript.
other: Does not change the file type.
737

Advertisement

Table of Contents
loading

Table of Contents