Explicit forward proxy deployment using either explicit browser settings or PAC file.
Following the steps below are steps to create a keyring, create a self-signed certificate, and install policy via Command Line Interface.
See also Create a self-signed certificate from the command line.
See also Eliminate the invalid certificate warning when intercepting HTTPS / SSL.
Blue Coat SG Series#conf t
Blue Coat SG Series#(config)ssl
Blue Coat SG Series#(config ssl)create keyring show SSL_Self_Signed 1024
ok
Blue Coat SG Series#(config ssl)create certificate SSL_Self_Signed
Country code []: US
State or province []: California
Locality or city []: Sunnyvale
Organization name []: Support Services
Organization unit []: Technical Customer Support
Common name []: sunnyvale-proxySG300
Email address []: [email protected]
Challenge []: test123
Company name []: Blue Coat Systems
Digest type (sha1, sha224, sha256, sha384 or sha512) [sha256]:
ok
Blue Coat SG Series#(config ssl)view certificate SSL_Self_Signed
-----BEGIN CERTIFICATE-----
MIIEAzCCA2ygAwIBAgIEKSRkKTANBgkqhkiG9w0BAQsFADCBtTELMAkGA1UEBhMC
VVMxEzARBgNVBAgTCkNhbGlmb3JuaWExEjAQBgNVBAcTCVN1bm55dmFsZTEZMBcG
A1UEChMQU3VwcG9ydCBTZXJ2aWNlczEjMCEGA1UECxMaVGVjaG5pY2FsIEN1c3Rv
bWVyIFN1cHBvcnQxHTAbBgNVBAMTFHN1bm55dmFsZS1wcm94eVNHMzAwMR4wHAYJ
KoZIhvcNAQkBFg90ZXN0MTIzQDEyMy5jb20wHhcNMTcxMTE1MDAxOTUzWhcNMTkx
MTE1MDAxOTUzWjCBtTELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWEx
EjAQBgNVBAcTCVN1bm55dmFsZTEZMBcGA1UEChMQU3VwcG9ydCBTZXJ2aWNlczEj
MCEGA1UECxMaVGVjaG5pY2FsIEN1c3RvbWVyIFN1cHBvcnQxHTAbBgNVBAMTFHN1
bm55dmFsZS1wcm94eVNHMzAwMR4wHAYJKoZIhvcNAQkBFg90ZXN0MTIzQDEyMy5j
b20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALh2j64Zg9C7mTGUFJSJqGq2
XVM8YXCF+7HQlITDVnhMyIbDTdmA2IASwxc6OAD6nnYJ+vY4+aTHsZb9u5hr/Cf/
xZkyp8d8dsAyWTte3RPLFPQzV5RDZnlproSp1jInh7et901V5aCDgp23xlpAD56r
oKEE5xNuC3oAhBv9P6vVAgMBAAGjggEcMIIBGDAdBgNVHQ4EFgQU4xP/NRtUDYwb
MkmXYWAfLzgW0xgwgeUGA1UdIwSB3TCB2oAU4xP/NRtUDYwbMkmXYWAfLzgW0xih
gbukgbgwgbUxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRIwEAYD
VQQHEwlTdW5ueXZhbGUxGTAXBgNVBAoTEFN1cHBvcnQgU2VydmljZXMxIzAhBgNV
BAsTGlRlY2huaWNhbCBDdXN0b21lciBTdXBwb3J0MR0wGwYDVQQDExRzdW5ueXZh
bGUtcHJveHlTRzMwMDEeMBwGCSqGSIb3DQEJARYPdGVzdDEyM0AxMjMuY29tggQp
JGQpMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADgYEAnYFwTxCOmd1T
ZfFxTsM08eOIu6lNWWW6IaLB/Tyy94I+2TTysbJL0pVHgPpnIBEIQ4ja4MVXqmbX
oDkZcKz0U39sr47KaRIvTcJ8Vh+thcDGw6D0qhTIEBzk60YVqlfd2WEu7hKpArkA
G7s1GxogcQ3Ev8Wh9DX/rwo5+MmQ6zY=
--More-- -----END CERTIFICATE-----
Blue Coat SG Series#(config ssl)view keyring SSL_Self_Signed
Keyring ID: SSL_Self_Signed
Private key showability: show
Signing request: absent
Certificate: present
Certificate subject: /C=US/ST=California/L=Sunnyvale/O=Support Services/OU=Technical Customer Support/CN=sunnyvale-proxySG300/[email protected]
Certificate issuer: /C=US/ST=California/L=Sunnyvale/O=Support Services/OU=Technical Customer Support/CN=sunnyvale-proxySG300/[email protected]
Certificate valid from: Nov 15 00:19:53 2017 GMT
Certificate valid to: Nov 15 00:19:53 2019 GMT
Certificate thumbprint: F0:1C:AF:DF:CD:04:4F:0F:B6:61:F2:77:A8:6A:CC:AF
Keylist membership:
Search the sysinfo for the existing policy section, and copy out the entire code from "inline policy vpm to end-xxxxxxxx-inline-xml."
In the example below, copy from "inline policy vpm end-xxxxxxxx-inline end-xxxxxxxx-inline-xml" to "end-xxxxxxx-inline-xml" into a text editor, such as Notepad. Replace the SSL Intercept Layer keyring and paste the code back into the CLI.
Blue Coat SG Series#(config ssl)exit
Blue Coat SG Series#(config)
Blue Coat SG Series#(config)!- END proxies
Blue Coat SG Series#(config)!- BEGIN policy
Blue Coat SG Series#(config)inline policy vpm end-1234567-inline end-1234567-inline-xml
##COPY ENTIRE VPM Policy but edit the SSL Intercept Layer to the new Keyring
;; Tab: [SSL Intercept Layer (1)]
client.address=x.x.x.x/32 ssl.forward_proxy(yes) detect_protocol(yes) ssl.forward_proxy.issuer_keyring("SSL_Self_Signed") ; Rule 1
end-1234567-inline-xml
ok
Blue Coat SG Series#(config)
Blue Coat SG Series#(config)!- END policy
Blue Coat SG Series#(config)