sethttps(8)
158 XSCF Reference Manual • Last Revised January 2007
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+D.
EXIT STATUS The following exit values are returned:
SEE ALSO showhttps(8)
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 -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
5A51Yuhf8OGrR+bYGli6H1a6RPmlMSD7Z0AGDxR0eY0CAwEAAaOCAQ0wggEJMAkG
A1UdEwQCMAAwLAYJYIZIAYb4QgENBB8WHU9wZW5TU0wgR2VuZXJhd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