beautypg.com

FUJITSU SPARC ENTERPRISE M9000 User Manual

Page 239

background image

sethttps(8)

System Administration

215

EXAMPLE 5

Creates the private key of the web server.

EXAMPLE 6

Creates the private key of the web server. Automatically replies with

"

y

"

to

the prompt.

EXAMPLE 7

Creates the private key of the web server. Automatically replies with

"

y

"

without displaying the prompt.

EXAMPLE 8

Imports the web server certificate. To exit, press the Enter key and then press

"

Ctrl

" and "

D

"

.

XSCF>

sethttps -c genserverkey

Server key already exists. Do you still wish to update? [y|n] :

y

Enter passphrase:

Verifying - Enter passphrase:

XSCF>

sethttps -c genserverkey -y

Server key already exists. Do you still wish to update? [y|n] :y

Enter passphrase:

Verifying - Enter passphrase:

XSCF>

sethttps -c genserverkey -q -y

Enter passphrase:

Verifying - Enter passphrase:

XSCF>

sethttps -c importca

Please import a certificate:

-----BEGIN CERTIFICATE-----

MIIDdTCCAt6gAwIBAgIBATANBgkqhkiG9w0BAQQFADCBgTELMAkGA1UEBhMCamox

DjAMBgNVBAgTBXN0YXRlMREwDwYDVQQHEwhsb2NhbGl0eTEVMBMGA1UEChMMb3Jn

YW5pemF0aW9uMQ8wDQYDVQQLEwZvcmdhbmkxDzANBgNVBAMTBmNvbW1vbjEWMBQG

CSqGSIb3DQEJARYHZWUubWFpbDAeFw0wNjA1MzAwNTI5MTVaFw0xNjA1MjcwNTI5

MTVaMG4xCzAJBgNVBAYTAmpqMQ4wDAYDVQQIEwVzdGF0ZTEVMBMGA1UEChMMb3Jn

YW5pemF0aW9uMQ8wDQYDVQQLEwZvcmdhbmkxDzANBgNVBAMTBmNvbW1vbjEWMBQG

CSqGSIb3DQEJARYHZWUubWFpbDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA

nkPntf+TjYtyKlNYFbO/YavFpUzkYTLHdt0Fbz/tZmGd3e6Jn34A2W9EC7D9hjLs

j+kAP41Al6wFwGO7KP3H4iImX0Uysjl9Hyk4jLBU51sw8JqvT2utTjltV5mFPKL6