cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
14757
Views
10
Helpful
2
Comments
Stephen Russell
Community Member

 

Introduction

ASAs provide a temporary code signing certificate to sign Java applets (for java rewriter and plugins). The temporary certificate lets Java applets perform their intended functions without a warning message. ASA administrators should replace the temporary certificate before it expires with their own code signing certificate issued by a trusted certificate authority (CA). This CA can be a public CA, such as Verisign, GoDaddy or Thawte, or an enterprise CA that is trusted by the employees' web browser. Without a valid certificate, end users will see a warning message when they use any Java applets.

 

Note: This procedure doesn't apply to the port-forwarding java applet.

The Port Forward (PF) binary file is signed by a Cisco certificate, and requires Cisco to update it.

Customized signing certificate for  PF is not supported.

 

 

Procedure

 

Perform one of the following procedures to update the code signing certificate on the ASA:

  • Using the ASA to generate the certificate signing request and key (the most common option)
  • Importing an existing code signing certificate with a key pair

 

Using the ASA to generate the certificate signing request and key

To generate the certificate signing request and key using manual enrollment (also called terminal enrollment) on the ASA,

1. Generate a Certificate Signing Request (CSR).

For example:

hostname(config)# crypto key generate rsa label CodeSigner
INFO: The name for the keys will be: CodeSigner
Keypair generation process begin. Please wait...
hostname(config)# crypto ca trustpoint CodeSigner
hostname(config-ca-trustpoint)# enrollment terminal
hostname(config-ca-trustpoint)# subject-name CN=ASA-Code-Signer,O=Companyname
hostname(config-ca-trustpoint)# keypair CodeSigner
hostname(config-ca-trustpoint)# id-usage code-signer

2. Enroll it with either an internal or external CA.

For example:

hostname(config-ca-trustpoint)# crypto ca enroll CodeSigner
% Start certificate enrollment .. 
% The subject name in the certificate will be: CN=ASA-Code-Signer,O=Companyname
% The fully-qualified domain name in the certificate will be: hostname.domain.com
% Include the device serial number in the subject name? [yes/no]: n
Display Certificate Request to terminal? [yes/no]: y
Certificate Request follows:
-----BEGIN CERTIFICATE REQUEST-----
MIIB3DCCAUUCAQAwWTEUMBIGA1UEChMLQ29tcGFueW5hbWUxGDAWBgNVBAMTD0FT
QS1Db2RlLVNpZ25lcjEnMCUGCSqGSIb3DQEJAhYYd2I1NTQwLUZPLmZycWEuY2lz
Y28uY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCjOYV3P1rXgUgCS+d8
ai4YmV+C2M7EIT8rtVBQk4dl57Ixlfl4PvayQl6Lg3EAIrETxieSJ1S6z1Mu53JW
D4LdFfNBlh5AHW49y6Pf3qMc40YigA+y6qg62vTr9OpLTWgroR7En9zOcIpHbyos
RdRG+WQytmV/OPNSOyO4zOY/3wIDAQABoEMwQQYJKoZIhvcNAQkOMTQwMjALBgNV
HQ8EBAMCBaAwIwYDVR0RBBwwGoIYd2I1NTQwLUZPLmZycWEuY2lzY28uY29tMA0G
CSqGSIb3DQEBBAUAA4GBAA0PkSWLCXAE2QdsE6YLUJ7eOdaxkciBvBahzE1nsHpB
Cf576VcYctUdYWXXe4bKYxAYFY1TMBUXyLhGtfyKiqel/Z4+cQMPZljOXgZxDrLj
ogrfAbTSCCofltWOh7O9x8Jb1qrn/aqBWlPeMxjARNQ0MbE1+f3ZCqbA+QoauPAb
-----END CERTIFICATE REQUEST-----
Redisplay enrollment request? [yes/no]: n

3. Submit the certificate request to a CA.

4. Once the CA issues the certificate, import it using the following command:

hostname(config)# crypto ca import CodeSigner certificate
% The fully-qualified domain name in the certificate will be: wb5540-FO.frqa.cisco.com
Enter the base 64 encoded certificate.
End with the word "quit" on a line by itself
-----BEGIN CERTIFICATE-----
MIIF1zCCBL+gAwIBAgIKFDpa/wAAAAAAODANBgkqhkiG9w0BAQUFADBVMRMwEQYK
CZImiZPyLGQBGRYDY29tMRUwEwYKCZImiZPyLGQBGRYFY2lzY28xFTATBgoJkiaJ
k/IsZAEZFgV3YnBraTEQMA4GA1UEAxMHYnhiMDMtMTAeFw0wODEwMjQxODEwMjBa
Fw0xODA5MDQxOTQ4NTBaMFkxFDASBgNVBAoTC0NvbXBhbnluYW1lMRgwFgYDVQQD
Ew9BU0EtQ29kZS1TaWduZXIxJzAlBgkqhkiG9w0BCQIWGHdiNTU0MC1GTy5mcnFh
LmNpc2NvL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LTEuY3J0MAwG
A1UdEwEB/wQCMAAwPAYJKwYBBAGCNxUHBC8wLQYlKwYBBAGCNxUI/9QBh96GUYbZ
kTKDkoxIsIh0gRKFqt5Ngc21MQIBZAIBAzAnBgNVHSUEIDAeBggrBgEFBQcDBAYI
KwYBBQUHAwIGCCsGAQUFBwMBMDMGCSsGAQQBgjcVCgQmMCQwCgYIKwYBBQUHAwQw
CgYIKwYBBQUHAwIwCgYIKwYBBQUHAwEwDQYJKoZIhvcNAQEFBQADggEBAGgu646i
HWK+eJQyTKS6D38EC/rLaql8N2oHknWW5fBT1WqpzJTne9YoDGCWNlVOGKyhHOIy
PVy3Ml2yz2aPZx3Ql81NpETkN6uSigiXrIn5nJI9WmNUeos5hT+4iF+APagz8y5V
TQb9S4N7pH3nuV6fjKCzQbY7xpFcoLozxzZYxCBPQl3dCCNHIy/cLTypAxwv22Y3
YMD5r7awREpTCCxt3Cm6Z2dGJioxLQ1JQ4fkTBJAAYwrhQwv7cswkOUT4NlrFOuL
zEWHPmFWlS4TZosGJo7EHE+zR3hP4vPkci6ci6HlKMt1yD4zNQxXkwWZEtLzpq9Q
H5KLS93CycwHSVg=
-----END CERTIFICATE-----
quit
INFO: Certificate successfully imported
hostname(config)# crypto ca authenticate CodeSigner
Enter the base 64 encoded CA certificate.
End with the word "quit" on a line by itself
-----BEGIN CERTIFICATE-----
MIIEpTCCA42gAwIBAgIQPVsfNP3AVL5OtB2NR8q2WjANBgkqhkiG9w0BAQUFADBV
MRMwEQYKCZImiZPyLGQBGRYDY29tMRUwEwYKCZImiZPyLGQBGRYFY2lzY28xFTAT
BgoJkiaJk/IsZAEZFgV3YnBraTEQMA4GA1UEAxMHYnhiMDMtMTAeFw0wODA5MDQx
OTQ4NTBaFw0xODA5MDQxOTQ4NTBaMFUxEzARBgoJkiaJk/IsZAEZFgNjb20xFTAT
BgoJkiaJk/IsZAEZFgVjaXNjbzEVMBMGCgmSJomT8ixkARkWBXdicGtpMRAwDgYD
VQQDEwdieGI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btveer1ZqGDrBuvuBOf1VcCjMPpXw
EVYVL36KCz/mXq4UK4AslkjREKwH2HFEARrCFcUBNIihXmXuz4h5mljDf7Ysy6Ma
yrDVT+SQjg4CumcsXQKSWEG9RczF5PgLD2/a+FWQS3HgI1nsZ44Ezv+umscAr5uX
Mp8uRcTUEjg6617Kwbi/LCn9rM5yUt4n1nVz+YMozEtXynQ+8N412+M=
-----END CERTIFICATE-----
quit                         
INFO: Certificate has the following attributes:
Fingerprint:     359ff10c 4449e182 045d9133 d64378ac 
Do you accept this certificate? [yes/no]: yes
Trustpoint CA certificate accepted.
% Certificate successfully imported

5. Configure the new trustpoint for signing Clientless SSL Java objects.

For example,

hostname(config)# webvpn
hostname(config-webvpn)# java-trustpoint <trustpointname>
hostname(config-webvpn)# write memory

Importing an existing code signing certificate with a key pair

If you got a code signing certificate online using a web form with a third-party vendor such as Verisign or Entrust, or an internal CA, import it as follows:

1. Export the certificate to a PKCS12 file (with a private key).

2. Go to step 3 if the code signing certificate and key are in PEM format. Otherwise, convert the file to PEM (base64) format. The following examples each identify a tool to convert the file, the command syntax, and an example:

Syntax:

openssl base64 -in name-of-DER-file.extension -out same-name.pem

Example:

openssl base64 -in ie-export.pfx -out ie-export.pem

Syntax:

certutil -encode name-of-DER-file.extension same-name.pem

Example:

certutil -encode ie-export.pfx ie-export.pem

This step is especially needed if you used Internet Explorer to export the certificate.

3. Enter the following command to import the file into the ASA.

crypto ca import trustpoint-name pkcs12 passphrase

For example:

hostname(config)# crypto ca import CodeSigner pkcs12 Wh0zits
Enter the base 64 encoded pkcs12.
End with the word "quit" on a line by itself:
-----BEGIN PKCS12-----
MIIP1wIBAzCCD5EGCSqGSIb3DQEHAaCCD4IEgg9+MIIPejCCD3YGCSqGSIb3DQEH
BqCCD2cwgg9jAgEAMIIPXAYJKoZIhvcNAQcBMBsGCiqGSIb3DQEMAQMwDQQIqg7W
8MrJ2pQCAQGAgg8wKFwEOhvKb4GXuJbfyo3xF5N2e1Cj3jO68Bw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0DmSvgjXPwu9woN
WjcCjc3UKezvgka/Cepnt2I4RDIHXM70uoJO5vHSlqya0if1ZsBqUYUEVF7yyZRN
neD00y6sBz0+3quYLBm7E62BnWp53rcDQhp/Znq5CClvnbogoiu8brCGDp5Lkc4c
R1525f5gaCuT8ZZRyYHUsMz2Ky2PEZ2I8AYRS7PZXV/s+ijrxUia9dZLJVN/0Fxa
U3VNGDZp+nvEfBP8caDf2Tj6orW41nvFSPB/rn78FhBZxViD6ndm4WA54xLLFP1P
br9Ik248w9GK0DMOhpTdXmfXEAMVztqwpKM+TF1MDhzi/H10/QfhJCACt2x5dxzq
UrzLgTuz0h+vR43RxYhKPsWC8Wv1uFPiulSlNwCUtM+niCP98gglEV+HvrwcsjMV
nHTuqa0mJEAJDgmwablEqFy/OpIkOi8QhQKzK5XrAKjrneH1wxZqPVLn6WJUkPkV
KquNrdxW1zlrXCW3JFAvvajzX1ZImAMotRt1eWl3P51jBcKBtAKFow+QfHPg5kWP
UxhhSTFavpkaT/ZQUpDsS2CFhV2fLIKgcvv0q4kPEtbVip0SnpKSsJ/RnzLyo27W
nmNirhidB5zulDgGkxc3t+rxM0+IjuY3IGRIViItCeJA8Ojz8GlW+AzvXi3HRhQW
MxkQVnWZcoC2ErkkSe/k0FpDX8pnJ7AjwFjRJdOdtqauRURxSCoaY5A/WasWubIQ
0aMF4EH2DZPpRTAPPFcZ86iEIG6j3NlRZT0h0e+yHFisw+PLWK48vinMS/FocPJW
/DHc2SisbnxjQaU6nq7J3UYoy+HDodqdY+Y1ks1QXivmCRhc5ogrpueE6pDP0w9E
JGRRlcM5DcTz+bIT8iF957pCjTI2kpPbFC/AtnYGiImAhz/CoAf41JmbeaR7dVVl
YDJthoRkIbGCHHZPMD0wITAJBgUrDgMCGgUABBQE5/VC5+E+K92lVjed9gE6bF5U
GAQUpEyGv3wKzyLnTcS+kE2k9QVVqU0CAgQA
 -----END PKCS12-----
quit
INFO: Import PKCS12 operation completed successfully

4. Enter the following commands to designate the trustpoint as a code-signer:

crypto ca trustpoint trustpoint-name
id-usage code-signer

For example,

hostname(config)# crypto ca trustpoint CodeSigner
hostname(config)# id-usage code-signer

5. Go to webvpn mode.

webvpn

6. Enter the following command to configure the new trustpoint for signing Clientless SSL Java objects:

crypto ca trustpoint trustpoint-name

For example,

hostname(config)# webvpn
hostname(config-webvpn)# java-trustpoint CodeSigner

7. Save the configuration changes.

write memory

Media:Example.ogg

Comments

I have followed this guide to the letter but can't quite get it to work....

I already have an Identity Certificate on the ASA issued via SCEP from an MS 2003 Enterprise CA.  The 'IPSec (Offline request)' certificate template has been updated to include 'Server Authentication', 'IP Security IKE intermediate' and 'Code Signing' as Application Policies so I thought I could just use this identity certificate for Code-Signing as well.  However it doesn't work and I get the message:

ciscoasa(config-webvpn)# java-trustpoint cert-auth
ERROR: trust-point <cert-auth> id-usage is not permitted for code signer.

So I followed this guide and requested a 'Code-Signing' certificate.  Everything appeared as the guide however I see this:

Certificate
  Subject Name:
    Name: ciscoasa.somedomain.local

  Status: Pending terminal enrollment
  Key Usage: General Purpose
  Fingerprint:  5dd9162d d48863d1 9d25861e 7206e749
  Associated Trustpoint: CodeSigner
ciscoasa#

When I requested a certificate via SCEP the certificate was 'pending' until it was issued from the CA.  In this case I have imported the CA certificate and the code-signing Identity certificate so I am not sure what I am missing?

tzemler-vertafore
Community Member

Just wanted to add that if you already have an Identity Certificate configured, you can use it as your Code Signer also. I followed the steps below (ver 8.4(3)) and the cert warning message we were getting when deploying the AnyConnect Client went away:

  •     Navigate to Configuration > Remote Access VPN > Certificate Management > Identity Certificates.
  •     Highlight the existing cert and click the Export button.
  •     Type a name, an encryption passphrase, and save the cert in PKCS12 format to your desktop.
  •     Navigate to Configuration > Remote Access VPN > Certificate Management > Code Signer.
  •     Click the Import button.
  •     Type a name (CodeSigner), the passphrase you used above, and select the cert you exported above. Click the     Import Cert button.
  •     Apply, Save
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: