This article describes a configuration example of the SCEP protocol in Protocol Gateway, using the provided enrollment templates file.
...
Expand | ||
---|---|---|
| ||
The following prerequisites apply:
|
Configure SCEP protocol
Expand | ||
---|---|---|
| ||
The elements that were imported during the initial configuration are marked with a black and yellow "under construction" bar, since they are not signed yet. In Administrator's workbench (AWB), open each element and make needed configurations and sign the changes:
| ||
Expand | title |
Set SCEP properties
To set the properties for the SCEP protocols:
- Open \Nexus\cm-gateway\conf\SCEP.properties for editing.
- Modify the following properties:
- Enable the SCEP protocol by setting
start
totrue
. Set
default.tokenprocedure
toSCEP Registration and Enroll Procedure
.Set
default.ra.keyfile
to the Protocol Gateway RA token file anddefault.ra.password
to the related PIN.
- Enable the SCEP protocol by setting
...
For more information on how to configure verifications of certificate requests in .properties files, see Certificate request verifications in Protocol Gateway.
- If needed, scramble sensitive parameters in the configuration file. See Scramble sensitive data in configuration files in Protocol Gateway.
- Save the file.
Code Block | ||
---|---|---|
| ||
start = true
default.tokenprocedure = SCEP Registration and Enroll Procedure
default.ra.keyfile = protocol-gateway-ra.p12
default.ra.password = <Protocol Gateway RA PIN> |
Expand | ||
---|---|---|
| ||
|
Test SCEP protocol with Nexus test client
Expand | ||
---|---|---|
| ||
For information on how to start using Nexus test client, see Set up and use test clients in Protocol Gateway. To configure the SCEP test client:
| ||
Expand | ||
Generate SCEP request
To verify the installation using the Nexus SCEP Client:
- Generate a SCEP request:
In the command prompt, start an interactive session, by typing the command:
Code Block title Example: Generate SCEP request java –jar testtools.jar SCEPClient interactive
Run these commands:
getcacert
- to get the CA cert from the servergenkeypair
- to generate a key pair for the clientcreate
- to create a certificate signing request (CSR)send
- to send the CSR to Protocol Gateway
The send command will fail, since there is no registered device with that FQDN. Verify in the log file in \Nexus\CM\server\logs\cf:
Code Block title Example: log file ... Request failed: No registration found for fqdn: [1596799669017.example.com] ...
Expand | ||
---|---|---|
| ||
To register a wildcard SCEP device:
|
Expand | |||||
---|---|---|---|---|---|
| |||||
Verify that a certificate can now be issued as a result of the CSR, In the same interactive SCEPClient session, run the command This time, it should be succesful:
|