Step 6 in the Microsoft
Windows setup for the ServiceNow® Headless Browser for ATF:
Set up your instance so it can support the Headless Browser.
시작하기 전에
Complete Step 5: Add secrets to Docker for Headless Browser setup in Microsoft Windows.
Role required: admin on your ServiceNow instance and local
administrator on the host machine.
This task: Now that you have configured the host machine, you will set up the instance
so that it successfully communicates and authenticates with the host machine.
프로시저
-
Create user:
- Navigate to and select New.
- Create a user - User ID, which can be whatever you want, as well as a
user name and password. The password should be the same as the one you
created for your Docker Secret container.
- Add the role atf_test_designer for this user. To learn more, see the User Roles section in the Exploring Automated Test Framework topic.
-
Create certificate:
- Navigate to to open the sys_ certificate
table. Create a new certificate (the name can be whatever you prefer):
- Select the Attach (paper clip) icon to attach the keystore file you
saved earlier to this record.
- Select Submit.
- Click Validate certificate and confirm that the
success message displays.
-
Create protocol profile:
- Navigate to to open the sys_protocol_profile
table. Create a new protocol profile record:
| Option |
Description |
| Protocol |
One word, lowercase: “docker” |
| Default port |
2376 (or the one you chose to use) |
| Keystore |
Docker host keystore |
- Select Submit.
-
Create a Docker spoke connection:
- Navigate to to open the sys_alias table.
- Select the alias with the name Docker.
- Under the Connections related list, select
New.
- Fill in these fields:
- Name: Any text you prefer
- Credential field: Leave blank
- Select the URL Builder check box.
- Select the Mutual authentication check box.
- In the Protocol profile field, select the
protocol profile you created earlier.
- In the Host field, add the IP address or Host name of your server.
- Select Submit.
The Connection URL is automatically created by the system.
-
Modify properties:
com.glide.communications.httpclient.verify_hostname: false
com.glide.communications.trustmanager_trust_all: true
경고: By default, the com.glide.communications.trustmanager_trust_all property is set to false. The ServiceNow AI Platform trusts only certificates that it can verify against the JVM certificate store. Self-signed and enterprise-signed certificates are not trusted.
You need to do this only when using self-signed certificates. To learn more, see Generate certificates for Headless Browser setup for Microsoft Windows.