Scep
These scenarios show how to configure the protocol SCEP to retrieve certificates from a PKI server; and then, establish a VPN site-to-site connection between two end-points.
Test SCEP Credentials Ready
Description
In this scenario, the credentials (X509 certificates) are retrieved before VPN settings are configured.
Scenario
Step 1: Set the following configuration in DUT0
:
set interfaces ethernet eth1 address 10.215.168.64/24 set protocols static route 192.168.212.0/22 next-hop 10.215.168.1 set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Step 2: Set the following configuration in DUT2
:
set interfaces ethernet eth1 address 10.215.168.66/24 set protocols static route 192.168.212.0/22 next-hop 10.215.168.1 set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Step 3: Ping IP address 192.168.213.25
from DUT0
:
admin@DUT0$ ping 192.168.213.25 count 1 size 56 timeout 1Show output
PING 192.168.213.25 (192.168.213.25) 56(84) bytes of data. 64 bytes from 192.168.213.25: icmp_seq=1 ttl=126 time=0.635 ms --- 192.168.213.25 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.635/0.635/0.635/0.000 ms
Step 4: Ping IP address 192.168.213.25
from DUT2
:
admin@DUT2$ ping 192.168.213.25 count 1 size 56 timeout 1Show output
PING 192.168.213.25 (192.168.213.25) 56(84) bytes of data. 64 bytes from 192.168.213.25: icmp_seq=1 ttl=126 time=0.604 ms --- 192.168.213.25 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.604/0.604/0.604/0.000 ms
Step 5: Modify the following configuration lines in DUT0
:
set interfaces dummy dum0 address 192.168.1.1/24 set interfaces ethernet eth0 address 8.0.0.2/24 set protocols static route 0.0.0.0/0 next-hop 8.0.0.1 set system certificate scep csr CSR cgi-path CertSrv/mscep/mscep.dll/pkiclient.exe set system certificate scep csr CSR distinguished-names 'DC=scep, DC=com, CN=entity1' set system certificate scep csr CSR encrypted-password U2FsdGVkX18Gb0rjgTKS9TrDGOvUf6Fw2VsTD7pBAe0dOjOOAvbjB+NXhXJsAqIVZLFJt7rBTLiyz1LlY65oAA== set system certificate scep csr CSR url 'http://192.168.213.25/'
Step 6: Set the following configuration in DUT1
:
set interfaces ethernet eth0 address 8.0.0.1/24 set interfaces ethernet eth1 address 9.0.0.1/24 set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Step 7: Modify the following configuration lines in DUT2
:
set interfaces dummy dum0 address 192.168.2.1/24 set interfaces ethernet eth0 address 9.0.0.2/24 set protocols static route 0.0.0.0/0 next-hop 9.0.0.1 set system certificate scep csr CSR cgi-path CertSrv/mscep/mscep.dll/pkiclient.exe set system certificate scep csr CSR distinguished-names 'DC=scep, DC=com, CN=entity2' set system certificate scep csr CSR encrypted-password U2FsdGVkX1/y5oJgjWpK8aLjakNT4oTXyYQOvwd0eX2ceXgJEp0KKFfckLMas4DPXKrZ8Evee8fQ0Hi1kJL/Hg== set system certificate scep csr CSR url 'http://192.168.213.25/'
Step 8: Run command pki scep show CSR
at DUT0
and check if output matches the following regular expressions:
ca\s+Valid usercert\s+ValidShow output
------------------------------------------------------------------------------------- Certificate Status Usage NotBefore NotAfter ------------------------------------------------------------------------------------- ca Valid Signature Dec 14 10:00:35 2023 GMT Dec 14 10:10:34 2053 GMT ra Valid Encipherment Dec 21 09:33:45 2023 GMT Dec 20 09:33:45 2025 GMT ra-2 Valid Signature Dec 21 09:33:43 2023 GMT Dec 20 09:33:43 2025 GMT usercert Valid - Aug 20 13:57:33 2025 GMT Aug 20 17:57:33 2025 GMT
Step 9: Run command pki scep show CSR
at DUT2
and check if output matches the following regular expressions:
ca\s+Valid usercert\s+ValidShow output
------------------------------------------------------------------------------------- Certificate Status Usage NotBefore NotAfter ------------------------------------------------------------------------------------- ca Valid Signature Dec 14 10:00:35 2023 GMT Dec 14 10:10:34 2053 GMT ra Valid Encipherment Dec 21 09:33:45 2023 GMT Dec 20 09:33:45 2025 GMT ra-2 Valid Signature Dec 21 09:33:43 2023 GMT Dec 20 09:33:43 2025 GMT usercert Valid - Aug 20 13:57:35 2025 GMT Aug 20 17:57:35 2025 GMT
Note
Now, the credentials are ready, so let’s configure the VPN site-to-site tunnel.
Step 10: Modify the following configuration lines in DUT0
:
set vpn ipsec auth-profile AUTH local csr CSR set vpn ipsec auth-profile AUTH mirror-config false set vpn ipsec auth-profile AUTH mode x509 set vpn ipsec esp-group ESP-POLICY lifetime 28800 set vpn ipsec esp-group ESP-POLICY proposal 1 encryption null set vpn ipsec esp-group ESP-POLICY proposal 1 hash sha1 set vpn ipsec esp-group ESP-POLICY proposal 1 pfs dh-group15 set vpn ipsec ike-group IKE-POLICY key-exchange ikev2 set vpn ipsec ike-group IKE-POLICY lifetime 28800 set vpn ipsec ike-group IKE-POLICY proposal 1 dh-group 15 set vpn ipsec ike-group IKE-POLICY proposal 1 encryption null set vpn ipsec ike-group IKE-POLICY proposal 1 hash sha1 set vpn ipsec ike-group IKE-POLICY proposal 2 dh-group 15 set vpn ipsec ike-group IKE-POLICY proposal 2 encryption aes256 set vpn ipsec ike-group IKE-POLICY proposal 2 hash sha1 set vpn ipsec logging log-types any log-level 1 set vpn ipsec site-to-site peer PEER auth-profile AUTH set vpn ipsec site-to-site peer PEER connection-type initiate set vpn ipsec site-to-site peer PEER ike-group IKE-POLICY set vpn ipsec site-to-site peer PEER local-address 8.0.0.2 set vpn ipsec site-to-site peer PEER remote-address 9.0.0.2 set vpn ipsec site-to-site peer PEER tunnel 1 esp-group ESP-POLICY set vpn ipsec site-to-site peer PEER tunnel 1 local prefix 192.168.1.0/24 set vpn ipsec site-to-site peer PEER tunnel 1 remote prefix 192.168.2.0/24
Step 11: Modify the following configuration lines in DUT2
:
set vpn ipsec auth-profile AUTH local csr CSR set vpn ipsec auth-profile AUTH mirror-config false set vpn ipsec auth-profile AUTH mode x509 set vpn ipsec esp-group ESP-POLICY lifetime 28800 set vpn ipsec esp-group ESP-POLICY proposal 1 encryption null set vpn ipsec esp-group ESP-POLICY proposal 1 hash sha1 set vpn ipsec esp-group ESP-POLICY proposal 1 pfs dh-group15 set vpn ipsec ike-group IKE-POLICY key-exchange ikev2 set vpn ipsec ike-group IKE-POLICY lifetime 28800 set vpn ipsec ike-group IKE-POLICY proposal 1 dh-group 15 set vpn ipsec ike-group IKE-POLICY proposal 1 encryption null set vpn ipsec ike-group IKE-POLICY proposal 1 hash sha1 set vpn ipsec ike-group IKE-POLICY proposal 2 dh-group 15 set vpn ipsec ike-group IKE-POLICY proposal 2 encryption aes256 set vpn ipsec ike-group IKE-POLICY proposal 2 hash sha1 set vpn ipsec logging log-types any log-level 1 set vpn ipsec site-to-site peer PEER auth-profile AUTH set vpn ipsec site-to-site peer PEER connection-type respond set vpn ipsec site-to-site peer PEER ike-group IKE-POLICY set vpn ipsec site-to-site peer PEER local-address 9.0.0.2 set vpn ipsec site-to-site peer PEER remote-address 8.0.0.2 set vpn ipsec site-to-site peer PEER tunnel 1 esp-group ESP-POLICY set vpn ipsec site-to-site peer PEER tunnel 1 local prefix 192.168.2.0/24 set vpn ipsec site-to-site peer PEER tunnel 1 remote prefix 192.168.1.0/24
Step 12: Run command vpn ipsec show sa
at DUT0
and check if output matches the following regular expressions:
vpn-peer-PEER: \#\d, ESTABLISHED, IKEv2Show output
vpn-peer-PEER: #1, ESTABLISHED, IKEv2, 179b94ca9435165c_i* 4dbf8a767b70d61a_r local 'DC=scep, DC=com, CN=entity1' @ 8.0.0.2[500] remote 'DC=scep, DC=com, CN=entity2' @ 9.0.0.2[500] NULL/HMAC_SHA1_96/PRF_HMAC_SHA1/MODP_3072 established 19s ago, rekeying in 24714s peer-PEER-tunnel-1: #1, reqid 1, INSTALLED, TUNNEL, ESP:NULL/HMAC_SHA1_96 installed 19s ago, rekeying in 18952s, expires in 31661s in c431b87a, 0 bytes, 0 packets out cebbcce7, 0 bytes, 0 packets local 192.168.1.0/24 remote 192.168.2.0/24
Step 13: Run command vpn ipsec show sa
at DUT2
and check if output matches the following regular expressions:
vpn-peer-PEER: \#\d, ESTABLISHED, IKEv2Show output
vpn-peer-PEER: #1, ESTABLISHED, IKEv2, 179b94ca9435165c_i 4dbf8a767b70d61a_r* local 'DC=scep, DC=com, CN=entity2' @ 9.0.0.2[500] remote 'DC=scep, DC=com, CN=entity1' @ 8.0.0.2[500] NULL/HMAC_SHA1_96/PRF_HMAC_SHA1/MODP_3072 established 19s ago, rekeying in 25634s peer-PEER-tunnel-1: #1, reqid 1, INSTALLED, TUNNEL, ESP:NULL/HMAC_SHA1_96 installed 19s ago, rekeying in 14724s, expires in 31661s in cebbcce7, 0 bytes, 0 packets out c431b87a, 0 bytes, 0 packets local 192.168.2.0/24 remote 192.168.1.0/24
Step 14: Run command pki show remote-certificate site-to-site PEER filter-issuer TELDAT
at DUT0
and check if output contains the following tokens:
DC = scep, DC = com, CN = entity2Show output
Certificate: Data: Version: 3 (0x2) Serial Number: 1c:00:00:fd:68:88:0c:6e:ed:0f:10:a2:a6:00:00:00:00:fd:68 Signature Algorithm: sha256WithRSAEncryption Issuer: DC = com, DC = scep, CN = scep-TELDATPKI-CA Validity Not Before: Aug 20 13:57:33 2025 GMT Not After : Aug 20 17:57:33 2025 GMT Subject: DC = scep, DC = com, CN = entity1 Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (2048 bit) Modulus: 00:d7:df:dd:98:bf:b9:89:3e:4d:ef:23:bb:45:0d: 1e:28:1f:f8:7a:c2:17:98:17:0f:f4:56:9c:49:e7: 24:d9:ce:7c:d7:f1:20:e7:17:5e:ff:2d:f9:4c:c2: a8:a4:36:1c:62:89:04:1c:b1:63:6a:7f:f4:53:f8: 7d:44:ec:2c:0a:e3:11:65:25:3b:e9:7e:2b:92:bc: 04:e1:c2:57:1f:fa:c2:06:9d:d8:81:1d:63:0a:6f: 1c:ee:bb:02:a3:a1:c9:f2:16:48:ad:7f:5a:5a:50: e6:4a:5d:85:a3:3e:eb:b0:ee:2d:7c:81:62:30:a3: a4:86:fa:2e:e7:46:65:a2:7b:cb:b9:26:a7:4a:30: 1b:ec:d4:09:78:8b:dc:a6:46:45:4f:69:de:7c:4d: 78:95:7e:12:b8:28:3f:df:2d:96:28:d0:1a:15:6f: ac:bd:3b:aa:a3:e3:fe:7d:c7:e6:b7:ce:57:ea:12: a8:f7:cc:96:37:bf:91:f7:1d:d8:a3:dd:49:32:39: b2:03:8e:6e:47:eb:f6:62:c8:11:97:d9:c1:c1:31: 14:07:29:38:44:66:f5:1b:6a:b9:69:91:7f:e1:80: aa:b5:12:1f:70:19:24:73:0e:a2:41:68:33:e9:c9: 07:f6:4e:2d:fb:a5:9d:e0:9b:20:49:03:02:b5:43: 08:0b Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Subject Key Identifier: AE:5C:BA:2F:AB:BB:A8:74:FD:8B:5E:BD:87:57:0C:AD:7D:BF:16:7A X509v3 Authority Key Identifier: AF:CF:34:AD:5B:BC:15:CF:9E:0B:FB:4A:ED:09:79:E0:01:68:5D:B8 X509v3 CRL Distribution Points: Full Name: URI:http://192.168.213.25/CertEnroll/scep-TELDATPKI-CA.crl Authority Information Access: CA Issuers - URI:ldap:///CN=scep-TELDATPKI-CA,CN=AIA,CN=Public%20Key%20Services,CN=Services,CN=Configuration,DC=scep,DC=com?cACertificate?base?objectClass=certificationAuthority X509v3 Key Usage: critical Digital Signature, Key Encipherment, Data Encipherment 1.3.6.1.4.1.311.21.7: 0..&+.....7.....3......./...(...f<...[...]..d.. X509v3 Extended Key Usage: 1.3.6.1.4.1.311.20.1, Microsoft Encrypted File System, Code Signing, Any Extended Key Usage, TLS Web Server Authentication, Signing KDC Response, TLS Web Client Authentication, 1.3.6.1.4.1.311.21.5, 1.3.6.1.4.1.311.20.2.1, 1.3.6.1.5.5.8.2.2 1.3.6.1.4.1.311.21.10: 0y0...+.....7..0.. +.....7 ..0 ..+.......0...U.%.0 ..+.......0...+......0 ..+.......0...+.....7..0.. +.....7...0 ..+....... S/MIME Capabilities: 050...*.H.. ......0...*.H.. ......0...+....0 ..*.H.. .. Signature Algorithm: sha256WithRSAEncryption Signature Value: 21:4f:ad:74:3e:90:a5:7f:c0:1e:19:1f:a4:42:13:2d:49:b6: ee:e0:cf:8c:c3:15:f6:b0:9e:e6:e2:38:65:97:e7:17:45:a4: 6e:9f:ec:fb:a9:73:fd:4e:e9:f0:d1:73:05:64:fb:6e:a1:bc: 4d:90:04:5f:91:dc:83:b7:fd:5d:98:ce:e2:2d:aa:b7:23:98: fa:32:9e:d9:2d:26:03:49:d6:1b:f9:b3:dd:77:30:71:e0:02: c4:c0:ac:79:1b:5b:2b:01:3c:b1:01:d5:73:2a:89:b8:f0:0f: ab:16:a0:9b:12:cf:cd:52:9c:a4:c6:10:09:58:06:e1:69:c1: a7:ac:4a:72:de:74:14:46:1a:a2:89:92:f2:60:b5:2d:97:25: 35:88:ec:85:d6:66:59:8a:5e:b5:92:e0:39:80:3c:46:5f:98: 33:79:19:fb:81:ea:01:5b:01:5b:86:cf:1b:d8:f1:11:0e:1b: cf:5b:b7:72:8c:df:cd:23:b4:ac:0a:db:8b:1e:f2:4f:16:05: be:46:de:68:9a:93:ee:d4:d5:72:30:86:84:8d:56:36:62:56: 91:0d:e4:48:c8:3f:88:c1:e6:e8:5e:5e:f1:6a:ca:1d:06:ec: 13:2e:1c:bf:41:a6:73:69:18:a3:be:f0:c6:fc:65:0c:35:cb: 07:62:58:7d ---------------------------------------------------------------------- Certificate: Data: Version: 3 (0x2) Serial Number: 1c:00:00:fd:69:0e:18:fa:4f:d8:28:25:ac:00:00:00:00:fd:69 Signature Algorithm: sha256WithRSAEncryption Issuer: DC = com, DC = scep, CN = scep-TELDATPKI-CA Validity Not Before: Aug 20 13:57:35 2025 GMT Not After : Aug 20 17:57:35 2025 GMT Subject: DC = scep, DC = com, CN = entity2 Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (2048 bit) Modulus: 00:bc:11:98:f4:95:e1:9e:94:6f:f4:bc:f3:46:9e: a0:10:44:a5:0d:cb:d8:b7:19:01:7c:78:a8:be:26: a9:ba:c8:05:51:57:07:2c:fc:b5:0d:0f:2d:fa:ed: c0:2a:26:ca:c3:fd:0b:f5:d3:01:c4:3b:30:dd:39: 51:9a:93:21:fe:84:c1:4a:f0:61:1f:dd:12:21:a8: 06:80:0e:97:2b:86:56:a8:d8:58:8a:f3:a3:e8:9d: cd:01:30:bd:34:21:24:98:5a:b0:b1:5f:96:19:2e: 28:fd:80:55:00:ba:25:24:e3:4a:08:73:58:3c:50: 4a:23:17:b1:d5:8f:93:e4:82:de:c8:c2:a9:2c:d0: 69:b3:e8:39:f7:1a:cc:82:55:6c:ac:95:90:91:17: 74:ae:d7:ae:a3:ef:ae:46:27:ef:87:be:92:13:9e: 37:36:39:9e:eb:65:e6:4d:c2:56:84:df:61:99:59: 45:db:4d:82:4a:d2:f6:8c:20:ea:6a:a7:97:b9:20: 51:f0:b5:bb:69:ca:30:61:4d:df:ed:42:cf:4b:f8: 71:85:e7:72:a8:48:54:7e:71:52:70:7a:c3:37:cb: 3c:54:f6:a8:e0:ce:9f:fa:cc:53:3f:f2:89:a5:17: 47:75:6d:25:c2:52:0a:b2:25:9b:51:64:ef:6d:7a: 3a:49 Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Subject Key Identifier: 91:FD:D9:6E:C1:0E:B0:73:76:08:AD:8E:D3:57:E4:A0:1B:5F:9A:76 X509v3 Authority Key Identifier: AF:CF:34:AD:5B:BC:15:CF:9E:0B:FB:4A:ED:09:79:E0:01:68:5D:B8 X509v3 CRL Distribution Points: Full Name: URI:http://192.168.213.25/CertEnroll/scep-TELDATPKI-CA.crl Authority Information Access: CA Issuers - URI:ldap:///CN=scep-TELDATPKI-CA,CN=AIA,CN=Public%20Key%20Services,CN=Services,CN=Configuration,DC=scep,DC=com?cACertificate?base?objectClass=certificationAuthority X509v3 Key Usage: critical Digital Signature, Key Encipherment, Data Encipherment 1.3.6.1.4.1.311.21.7: 0..&+.....7.....3......./...(...f<...[...]..d.. X509v3 Extended Key Usage: 1.3.6.1.4.1.311.20.1, Microsoft Encrypted File System, Code Signing, Any Extended Key Usage, TLS Web Server Authentication, Signing KDC Response, TLS Web Client Authentication, 1.3.6.1.4.1.311.21.5, 1.3.6.1.4.1.311.20.2.1, 1.3.6.1.5.5.8.2.2 1.3.6.1.4.1.311.21.10: 0y0...+.....7..0.. +.....7 ..0 ..+.......0...U.%.0 ..+.......0...+......0 ..+.......0...+.....7..0.. +.....7...0 ..+....... S/MIME Capabilities: 050...*.H.. ......0...*.H.. ......0...+....0 ..*.H.. .. Signature Algorithm: sha256WithRSAEncryption Signature Value: a4:d6:92:87:7d:a1:b9:0a:a9:3b:e3:0c:c7:d8:5c:02:c7:a8: 30:48:b2:1c:73:da:43:c7:79:de:39:90:e9:ba:f9:45:b9:1d: 9f:ae:f4:3b:53:ef:0a:8a:4e:2a:80:30:45:c5:0d:12:0f:e9: c4:f8:02:7a:11:7c:73:a6:e5:e6:7c:f7:03:b2:4f:e7:06:24: 82:79:9a:e4:fd:6d:68:39:be:35:19:32:c2:5d:a4:62:88:3f: ec:81:70:83:24:1b:10:c2:60:e2:59:c8:20:ff:3c:74:81:19: f9:ac:e9:0b:fb:91:7f:ba:d1:df:0f:90:e6:a7:19:bc:a9:da: 3b:f0:5c:34:f5:9a:f3:26:c8:87:63:9e:7e:07:13:0e:c9:81: f7:6c:c9:2c:93:12:07:61:bd:7c:26:1b:6a:60:42:da:ba:7c: c8:4d:e2:cb:90:84:fb:a3:ef:5d:15:00:0b:a2:20:4f:92:2f: 48:4c:e2:80:f7:a3:9e:fb:dc:af:ff:d4:d8:ad:a5:ff:4c:7d: af:0b:7f:74:39:fc:65:f7:ec:2b:e1:c5:38:77:90:f1:a9:23: ef:5a:b8:c9:ed:03:28:ca:d9:2e:e9:a7:2a:a4:2a:42:c3:8d: 2d:9e:82:cb:68:56:e7:83:1e:b9:49:21:1f:cb:d1:24:da:9f: de:20:6f:46 ---------------------------------------------------------------------- Certificate: Data: Version: 3 (0x2) Serial Number: 1a:ea:6d:57:94:fe:a5:9c:42:14:81:ca:79:1b:75:d7 Signature Algorithm: sha256WithRSAEncryption Issuer: DC = com, DC = scep, CN = scep-TELDATPKI-CA Validity Not Before: Dec 14 10:00:35 2023 GMT Not After : Dec 14 10:10:34 2053 GMT Subject: DC = com, DC = scep, CN = scep-TELDATPKI-CA Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (2048 bit) Modulus: 00:bf:c5:be:9a:32:e2:a5:42:6c:b8:42:b5:7b:21: e5:71:b0:79:46:b1:41:bd:25:c3:40:e1:33:8e:1a: 3b:12:ca:26:1e:f3:c9:44:d6:b5:9a:03:cb:14:f5: 82:6f:a8:7e:47:bc:e7:e0:b3:1f:c6:ff:84:54:2b: fd:b6:0d:e1:4f:c3:b7:6a:0f:98:99:c2:8a:b6:b8: 9d:f3:5d:36:f3:af:48:0f:7d:cd:5a:6c:a8:10:0c: 02:b2:0c:af:b3:d8:c3:b4:de:0e:b8:15:6d:4a:f0: 4e:67:7d:c2:3a:dd:03:f7:3d:80:69:63:2c:f9:97: fa:d3:4d:80:13:dd:24:ac:54:ad:f7:cc:25:94:41: fd:2d:e8:2a:8e:a8:91:96:89:d2:9f:0c:17:03:99: 11:f5:ce:2c:db:78:b7:09:75:d1:96:af:58:82:58: 62:86:63:01:16:68:fc:06:db:92:d0:c5:6d:9d:6d: fd:5d:13:b0:2b:37:2f:9c:ae:3b:e3:34:d6:42:7b: 12:01:93:da:ea:b4:c8:ba:9f:57:35:4f:6a:a1:95: c2:5f:40:9d:6b:c1:72:ec:91:9b:72:cc:6a:b8:9e: dc:08:f0:53:09:4f:d4:09:75:28:99:56:f5:66:be: 7d:ca:59:0e:9b:50:4d:be:98:04:20:4d:98:e6:5f: 58:c5 Exponent: 65537 (0x10001) X509v3 extensions: 1.3.6.1.4.1.311.20.2: ...C.A X509v3 Key Usage: critical Digital Signature, Certificate Sign, CRL Sign X509v3 Basic Constraints: critical CA:TRUE X509v3 Subject Key Identifier: AF:CF:34:AD:5B:BC:15:CF:9E:0B:FB:4A:ED:09:79:E0:01:68:5D:B8 1.3.6.1.4.1.311.21.1: ... Signature Algorithm: sha256WithRSAEncryption Signature Value: 6c:44:b8:33:b1:75:08:00:07:7f:2b:a4:80:f2:6a:ff:94:4c: ee:85:cc:61:db:49:59:19:cc:01:2f:c5:45:4b:d2:8d:dc:77: 54:7d:3c:34:75:28:c9:16:28:94:15:51:3d:e6:f7:dc:9b:d8: cd:63:bb:d3:ec:fc:ae:32:7e:cd:be:50:c2:9f:f7:91:de:9e: bb:44:d3:24:09:4d:dd:5f:67:ad:58:ad:7e:cc:9e:9f:8f:c8: 48:f5:d9:03:9a:a3:df:cd:e5:8a:e0:03:9e:36:f9:ba:fd:ff: 0b:a0:15:8c:66:9f:49:bc:e8:94:3e:61:7d:78:ff:48:66:d1: 13:54:1d:41:61:63:28:ba:d9:f8:6a:c4:df:48:16:d2:69:39: c0:38:ea:54:84:e0:40:17:d9:2c:43:58:be:e4:a1:5d:e2:6c: e9:23:55:b7:6e:61:8f:4e:72:4f:c2:d5:c4:7a:74:f5:8e:b3: 0e:2c:bc:5d:7d:ba:f8:ae:3b:f0:d6:b0:2e:1f:3f:fd:2d:77: 7d:52:bf:f7:07:ba:9d:64:60:57:1d:68:34:bb:cb:44:ac:dd: 55:c2:40:a1:98:84:b7:74:50:a4:50:95:0e:12:59:96:b9:af: bc:b3:09:e6:67:39:26:7e:b0:41:07:90:57:72:40:2a:11:7a: 2e:ac:be:b8
Step 15: Run command pki show remote-certificate site-to-site PEER filter-issuer TELDAT
at DUT2
and check if output contains the following tokens:
DC = scep, DC = com, CN = entity1Show output
Certificate: Data: Version: 3 (0x2) Serial Number: 1c:00:00:fd:68:88:0c:6e:ed:0f:10:a2:a6:00:00:00:00:fd:68 Signature Algorithm: sha256WithRSAEncryption Issuer: DC = com, DC = scep, CN = scep-TELDATPKI-CA Validity Not Before: Aug 20 13:57:33 2025 GMT Not After : Aug 20 17:57:33 2025 GMT Subject: DC = scep, DC = com, CN = entity1 Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (2048 bit) Modulus: 00:d7:df:dd:98:bf:b9:89:3e:4d:ef:23:bb:45:0d: 1e:28:1f:f8:7a:c2:17:98:17:0f:f4:56:9c:49:e7: 24:d9:ce:7c:d7:f1:20:e7:17:5e:ff:2d:f9:4c:c2: a8:a4:36:1c:62:89:04:1c:b1:63:6a:7f:f4:53:f8: 7d:44:ec:2c:0a:e3:11:65:25:3b:e9:7e:2b:92:bc: 04:e1:c2:57:1f:fa:c2:06:9d:d8:81:1d:63:0a:6f: 1c:ee:bb:02:a3:a1:c9:f2:16:48:ad:7f:5a:5a:50: e6:4a:5d:85:a3:3e:eb:b0:ee:2d:7c:81:62:30:a3: a4:86:fa:2e:e7:46:65:a2:7b:cb:b9:26:a7:4a:30: 1b:ec:d4:09:78:8b:dc:a6:46:45:4f:69:de:7c:4d: 78:95:7e:12:b8:28:3f:df:2d:96:28:d0:1a:15:6f: ac:bd:3b:aa:a3:e3:fe:7d:c7:e6:b7:ce:57:ea:12: a8:f7:cc:96:37:bf:91:f7:1d:d8:a3:dd:49:32:39: b2:03:8e:6e:47:eb:f6:62:c8:11:97:d9:c1:c1:31: 14:07:29:38:44:66:f5:1b:6a:b9:69:91:7f:e1:80: aa:b5:12:1f:70:19:24:73:0e:a2:41:68:33:e9:c9: 07:f6:4e:2d:fb:a5:9d:e0:9b:20:49:03:02:b5:43: 08:0b Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Subject Key Identifier: AE:5C:BA:2F:AB:BB:A8:74:FD:8B:5E:BD:87:57:0C:AD:7D:BF:16:7A X509v3 Authority Key Identifier: AF:CF:34:AD:5B:BC:15:CF:9E:0B:FB:4A:ED:09:79:E0:01:68:5D:B8 X509v3 CRL Distribution Points: Full Name: URI:http://192.168.213.25/CertEnroll/scep-TELDATPKI-CA.crl Authority Information Access: CA Issuers - URI:ldap:///CN=scep-TELDATPKI-CA,CN=AIA,CN=Public%20Key%20Services,CN=Services,CN=Configuration,DC=scep,DC=com?cACertificate?base?objectClass=certificationAuthority X509v3 Key Usage: critical Digital Signature, Key Encipherment, Data Encipherment 1.3.6.1.4.1.311.21.7: 0..&+.....7.....3......./...(...f<...[...]..d.. X509v3 Extended Key Usage: 1.3.6.1.4.1.311.20.1, Microsoft Encrypted File System, Code Signing, Any Extended Key Usage, TLS Web Server Authentication, Signing KDC Response, TLS Web Client Authentication, 1.3.6.1.4.1.311.21.5, 1.3.6.1.4.1.311.20.2.1, 1.3.6.1.5.5.8.2.2 1.3.6.1.4.1.311.21.10: 0y0...+.....7..0.. +.....7 ..0 ..+.......0...U.%.0 ..+.......0...+......0 ..+.......0...+.....7..0.. +.....7...0 ..+....... S/MIME Capabilities: 050...*.H.. ......0...*.H.. ......0...+....0 ..*.H.. .. Signature Algorithm: sha256WithRSAEncryption Signature Value: 21:4f:ad:74:3e:90:a5:7f:c0:1e:19:1f:a4:42:13:2d:49:b6: ee:e0:cf:8c:c3:15:f6:b0:9e:e6:e2:38:65:97:e7:17:45:a4: 6e:9f:ec:fb:a9:73:fd:4e:e9:f0:d1:73:05:64:fb:6e:a1:bc: 4d:90:04:5f:91:dc:83:b7:fd:5d:98:ce:e2:2d:aa:b7:23:98: fa:32:9e:d9:2d:26:03:49:d6:1b:f9:b3:dd:77:30:71:e0:02: c4:c0:ac:79:1b:5b:2b:01:3c:b1:01:d5:73:2a:89:b8:f0:0f: ab:16:a0:9b:12:cf:cd:52:9c:a4:c6:10:09:58:06:e1:69:c1: a7:ac:4a:72:de:74:14:46:1a:a2:89:92:f2:60:b5:2d:97:25: 35:88:ec:85:d6:66:59:8a:5e:b5:92:e0:39:80:3c:46:5f:98: 33:79:19:fb:81:ea:01:5b:01:5b:86:cf:1b:d8:f1:11:0e:1b: cf:5b:b7:72:8c:df:cd:23:b4:ac:0a:db:8b:1e:f2:4f:16:05: be:46:de:68:9a:93:ee:d4:d5:72:30:86:84:8d:56:36:62:56: 91:0d:e4:48:c8:3f:88:c1:e6:e8:5e:5e:f1:6a:ca:1d:06:ec: 13:2e:1c:bf:41:a6:73:69:18:a3:be:f0:c6:fc:65:0c:35:cb: 07:62:58:7d ---------------------------------------------------------------------- Certificate: Data: Version: 3 (0x2) Serial Number: 1c:00:00:fd:69:0e:18:fa:4f:d8:28:25:ac:00:00:00:00:fd:69 Signature Algorithm: sha256WithRSAEncryption Issuer: DC = com, DC = scep, CN = scep-TELDATPKI-CA Validity Not Before: Aug 20 13:57:35 2025 GMT Not After : Aug 20 17:57:35 2025 GMT Subject: DC = scep, DC = com, CN = entity2 Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (2048 bit) Modulus: 00:bc:11:98:f4:95:e1:9e:94:6f:f4:bc:f3:46:9e: a0:10:44:a5:0d:cb:d8:b7:19:01:7c:78:a8:be:26: a9:ba:c8:05:51:57:07:2c:fc:b5:0d:0f:2d:fa:ed: c0:2a:26:ca:c3:fd:0b:f5:d3:01:c4:3b:30:dd:39: 51:9a:93:21:fe:84:c1:4a:f0:61:1f:dd:12:21:a8: 06:80:0e:97:2b:86:56:a8:d8:58:8a:f3:a3:e8:9d: cd:01:30:bd:34:21:24:98:5a:b0:b1:5f:96:19:2e: 28:fd:80:55:00:ba:25:24:e3:4a:08:73:58:3c:50: 4a:23:17:b1:d5:8f:93:e4:82:de:c8:c2:a9:2c:d0: 69:b3:e8:39:f7:1a:cc:82:55:6c:ac:95:90:91:17: 74:ae:d7:ae:a3:ef:ae:46:27:ef:87:be:92:13:9e: 37:36:39:9e:eb:65:e6:4d:c2:56:84:df:61:99:59: 45:db:4d:82:4a:d2:f6:8c:20:ea:6a:a7:97:b9:20: 51:f0:b5:bb:69:ca:30:61:4d:df:ed:42:cf:4b:f8: 71:85:e7:72:a8:48:54:7e:71:52:70:7a:c3:37:cb: 3c:54:f6:a8:e0:ce:9f:fa:cc:53:3f:f2:89:a5:17: 47:75:6d:25:c2:52:0a:b2:25:9b:51:64:ef:6d:7a: 3a:49 Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Subject Key Identifier: 91:FD:D9:6E:C1:0E:B0:73:76:08:AD:8E:D3:57:E4:A0:1B:5F:9A:76 X509v3 Authority Key Identifier: AF:CF:34:AD:5B:BC:15:CF:9E:0B:FB:4A:ED:09:79:E0:01:68:5D:B8 X509v3 CRL Distribution Points: Full Name: URI:http://192.168.213.25/CertEnroll/scep-TELDATPKI-CA.crl Authority Information Access: CA Issuers - URI:ldap:///CN=scep-TELDATPKI-CA,CN=AIA,CN=Public%20Key%20Services,CN=Services,CN=Configuration,DC=scep,DC=com?cACertificate?base?objectClass=certificationAuthority X509v3 Key Usage: critical Digital Signature, Key Encipherment, Data Encipherment 1.3.6.1.4.1.311.21.7: 0..&+.....7.....3......./...(...f<...[...]..d.. X509v3 Extended Key Usage: 1.3.6.1.4.1.311.20.1, Microsoft Encrypted File System, Code Signing, Any Extended Key Usage, TLS Web Server Authentication, Signing KDC Response, TLS Web Client Authentication, 1.3.6.1.4.1.311.21.5, 1.3.6.1.4.1.311.20.2.1, 1.3.6.1.5.5.8.2.2 1.3.6.1.4.1.311.21.10: 0y0...+.....7..0.. +.....7 ..0 ..+.......0...U.%.0 ..+.......0...+......0 ..+.......0...+.....7..0.. +.....7...0 ..+....... S/MIME Capabilities: 050...*.H.. ......0...*.H.. ......0...+....0 ..*.H.. .. Signature Algorithm: sha256WithRSAEncryption Signature Value: a4:d6:92:87:7d:a1:b9:0a:a9:3b:e3:0c:c7:d8:5c:02:c7:a8: 30:48:b2:1c:73:da:43:c7:79:de:39:90:e9:ba:f9:45:b9:1d: 9f:ae:f4:3b:53:ef:0a:8a:4e:2a:80:30:45:c5:0d:12:0f:e9: c4:f8:02:7a:11:7c:73:a6:e5:e6:7c:f7:03:b2:4f:e7:06:24: 82:79:9a:e4:fd:6d:68:39:be:35:19:32:c2:5d:a4:62:88:3f: ec:81:70:83:24:1b:10:c2:60:e2:59:c8:20:ff:3c:74:81:19: f9:ac:e9:0b:fb:91:7f:ba:d1:df:0f:90:e6:a7:19:bc:a9:da: 3b:f0:5c:34:f5:9a:f3:26:c8:87:63:9e:7e:07:13:0e:c9:81: f7:6c:c9:2c:93:12:07:61:bd:7c:26:1b:6a:60:42:da:ba:7c: c8:4d:e2:cb:90:84:fb:a3:ef:5d:15:00:0b:a2:20:4f:92:2f: 48:4c:e2:80:f7:a3:9e:fb:dc:af:ff:d4:d8:ad:a5:ff:4c:7d: af:0b:7f:74:39:fc:65:f7:ec:2b:e1:c5:38:77:90:f1:a9:23: ef:5a:b8:c9:ed:03:28:ca:d9:2e:e9:a7:2a:a4:2a:42:c3:8d: 2d:9e:82:cb:68:56:e7:83:1e:b9:49:21:1f:cb:d1:24:da:9f: de:20:6f:46 ---------------------------------------------------------------------- Certificate: Data: Version: 3 (0x2) Serial Number: 1a:ea:6d:57:94:fe:a5:9c:42:14:81:ca:79:1b:75:d7 Signature Algorithm: sha256WithRSAEncryption Issuer: DC = com, DC = scep, CN = scep-TELDATPKI-CA Validity Not Before: Dec 14 10:00:35 2023 GMT Not After : Dec 14 10:10:34 2053 GMT Subject: DC = com, DC = scep, CN = scep-TELDATPKI-CA Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (2048 bit) Modulus: 00:bf:c5:be:9a:32:e2:a5:42:6c:b8:42:b5:7b:21: e5:71:b0:79:46:b1:41:bd:25:c3:40:e1:33:8e:1a: 3b:12:ca:26:1e:f3:c9:44:d6:b5:9a:03:cb:14:f5: 82:6f:a8:7e:47:bc:e7:e0:b3:1f:c6:ff:84:54:2b: fd:b6:0d:e1:4f:c3:b7:6a:0f:98:99:c2:8a:b6:b8: 9d:f3:5d:36:f3:af:48:0f:7d:cd:5a:6c:a8:10:0c: 02:b2:0c:af:b3:d8:c3:b4:de:0e:b8:15:6d:4a:f0: 4e:67:7d:c2:3a:dd:03:f7:3d:80:69:63:2c:f9:97: fa:d3:4d:80:13:dd:24:ac:54:ad:f7:cc:25:94:41: fd:2d:e8:2a:8e:a8:91:96:89:d2:9f:0c:17:03:99: 11:f5:ce:2c:db:78:b7:09:75:d1:96:af:58:82:58: 62:86:63:01:16:68:fc:06:db:92:d0:c5:6d:9d:6d: fd:5d:13:b0:2b:37:2f:9c:ae:3b:e3:34:d6:42:7b: 12:01:93:da:ea:b4:c8:ba:9f:57:35:4f:6a:a1:95: c2:5f:40:9d:6b:c1:72:ec:91:9b:72:cc:6a:b8:9e: dc:08:f0:53:09:4f:d4:09:75:28:99:56:f5:66:be: 7d:ca:59:0e:9b:50:4d:be:98:04:20:4d:98:e6:5f: 58:c5 Exponent: 65537 (0x10001) X509v3 extensions: 1.3.6.1.4.1.311.20.2: ...C.A X509v3 Key Usage: critical Digital Signature, Certificate Sign, CRL Sign X509v3 Basic Constraints: critical CA:TRUE X509v3 Subject Key Identifier: AF:CF:34:AD:5B:BC:15:CF:9E:0B:FB:4A:ED:09:79:E0:01:68:5D:B8 1.3.6.1.4.1.311.21.1: ... Signature Algorithm: sha256WithRSAEncryption Signature Value: 6c:44:b8:33:b1:75:08:00:07:7f:2b:a4:80:f2:6a:ff:94:4c: ee:85:cc:61:db:49:59:19:cc:01:2f:c5:45:4b:d2:8d:dc:77: 54:7d:3c:34:75:28:c9:16:28:94:15:51:3d:e6:f7:dc:9b:d8: cd:63:bb:d3:ec:fc:ae:32:7e:cd:be:50:c2:9f:f7:91:de:9e: bb:44:d3:24:09:4d:dd:5f:67:ad:58:ad:7e:cc:9e:9f:8f:c8: 48:f5:d9:03:9a:a3:df:cd:e5:8a:e0:03:9e:36:f9:ba:fd:ff: 0b:a0:15:8c:66:9f:49:bc:e8:94:3e:61:7d:78:ff:48:66:d1: 13:54:1d:41:61:63:28:ba:d9:f8:6a:c4:df:48:16:d2:69:39: c0:38:ea:54:84:e0:40:17:d9:2c:43:58:be:e4:a1:5d:e2:6c: e9:23:55:b7:6e:61:8f:4e:72:4f:c2:d5:c4:7a:74:f5:8e:b3: 0e:2c:bc:5d:7d:ba:f8:ae:3b:f0:d6:b0:2e:1f:3f:fd:2d:77: 7d:52:bf:f7:07:ba:9d:64:60:57:1d:68:34:bb:cb:44:ac:dd: 55:c2:40:a1:98:84:b7:74:50:a4:50:95:0e:12:59:96:b9:af: bc:b3:09:e6:67:39:26:7e:b0:41:07:90:57:72:40:2a:11:7a: 2e:ac:be:b8
Step 16: Ping IP address 192.168.2.1
from DUT0
:
admin@DUT0$ ping 192.168.2.1 local-address 192.168.1.1 count 1 size 56 timeout 1Show output
PING 192.168.2.1 (192.168.2.1) from 192.168.1.1 : 56(84) bytes of data. 64 bytes from 192.168.2.1: icmp_seq=1 ttl=64 time=0.408 ms --- 192.168.2.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.408/0.408/0.408/0.000 ms
Step 17: Ping IP address 192.168.1.1
from DUT2
:
admin@DUT2$ ping 192.168.1.1 local-address 192.168.2.1 count 1 size 56 timeout 1Show output
PING 192.168.1.1 (192.168.1.1) from 192.168.2.1 : 56(84) bytes of data. 64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.436 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.436/0.436/0.436/0.000 ms
Step 18: Run command pki scep request-ca CSR
at DUT0
and check if output contains the following tokens:
CA certificates acquisition completed successfullyShow output
CA certificates acquisition completed successfully for CSR 'CSR'
Step 19: Run command pki scep request-ca CSR
at DUT2
and check if output contains the following tokens:
CA certificates acquisition completed successfullyShow output
CA certificates acquisition completed successfully for CSR 'CSR'
Test SCEP Credentials Not Ready
Description
In this scenario, the credentials (X509 certificates) are not available when the VPN configuration is committed. However, once the credentials are downloaded, the VPN tunnel is set-up automatically.
Scenario
Step 1: Set the following configuration in DUT0
:
set interfaces ethernet eth1 address 10.215.168.64/24 set protocols static route 192.168.212.0/22 next-hop 10.215.168.1 set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Step 2: Set the following configuration in DUT2
:
set interfaces ethernet eth1 address 10.215.168.66/24 set protocols static route 192.168.212.0/22 next-hop 10.215.168.1 set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Step 3: Ping IP address 192.168.213.25
from DUT0
:
admin@DUT0$ ping 192.168.213.25 count 1 size 56 timeout 1Show output
PING 192.168.213.25 (192.168.213.25) 56(84) bytes of data. 64 bytes from 192.168.213.25: icmp_seq=1 ttl=126 time=0.649 ms --- 192.168.213.25 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.649/0.649/0.649/0.000 ms
Step 4: Ping IP address 192.168.213.25
from DUT2
:
admin@DUT2$ ping 192.168.213.25 count 1 size 56 timeout 1Show output
PING 192.168.213.25 (192.168.213.25) 56(84) bytes of data. 64 bytes from 192.168.213.25: icmp_seq=1 ttl=126 time=0.618 ms --- 192.168.213.25 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.618/0.618/0.618/0.000 ms
Step 5: Modify the following configuration lines in DUT0
:
set interfaces dummy dum0 address 192.168.1.1/24 set interfaces ethernet eth0 address 8.0.0.2/24 set protocols static route 0.0.0.0/0 next-hop 8.0.0.1 set system certificate scep csr CSR cgi-path CertSrv/mscep/mscep.dll/pkiclient.exe set system certificate scep csr CSR distinguished-names 'DC=scep, DC=com, CN=entity1' set system certificate scep csr CSR encrypted-password U2FsdGVkX19lZ2GeHvuO4uu1eL405oQIjj39foRRvakqr/PmhF6xmjhhBbKLZ+Q2NCOFM/LtLPIRPuny6Y9Vbw== set system certificate scep csr CSR port 443 set system certificate scep csr CSR url 'http://192.168.213.25/' set vpn ipsec auth-profile AUTH local csr CSR set vpn ipsec auth-profile AUTH mirror-config false set vpn ipsec auth-profile AUTH mode x509 set vpn ipsec esp-group ESP-POLICY lifetime 28800 set vpn ipsec esp-group ESP-POLICY proposal 1 encryption null set vpn ipsec esp-group ESP-POLICY proposal 1 hash sha1 set vpn ipsec esp-group ESP-POLICY proposal 1 pfs dh-group15 set vpn ipsec ike-group IKE-POLICY key-exchange ikev2 set vpn ipsec ike-group IKE-POLICY lifetime 28800 set vpn ipsec ike-group IKE-POLICY proposal 1 dh-group 15 set vpn ipsec ike-group IKE-POLICY proposal 1 encryption null set vpn ipsec ike-group IKE-POLICY proposal 1 hash sha1 set vpn ipsec ike-group IKE-POLICY proposal 2 dh-group 15 set vpn ipsec ike-group IKE-POLICY proposal 2 encryption aes256 set vpn ipsec ike-group IKE-POLICY proposal 2 hash sha1 set vpn ipsec logging log-types any log-level 1 set vpn ipsec site-to-site peer PEER auth-profile AUTH set vpn ipsec site-to-site peer PEER connection-type initiate set vpn ipsec site-to-site peer PEER ike-group IKE-POLICY set vpn ipsec site-to-site peer PEER local-address 8.0.0.2 set vpn ipsec site-to-site peer PEER remote-address 9.0.0.2 set vpn ipsec site-to-site peer PEER tunnel 1 esp-group ESP-POLICY set vpn ipsec site-to-site peer PEER tunnel 1 local prefix 192.168.1.0/24 set vpn ipsec site-to-site peer PEER tunnel 1 remote prefix 192.168.2.0/24
Step 6: Set the following configuration in DUT1
:
set interfaces ethernet eth0 address 8.0.0.1/24 set interfaces ethernet eth1 address 9.0.0.1/24 set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Step 7: Modify the following configuration lines in DUT2
:
set interfaces dummy dum0 address 192.168.2.1/24 set interfaces ethernet eth0 address 9.0.0.2/24 set protocols static route 0.0.0.0/0 next-hop 9.0.0.1 set system certificate scep csr CSR cgi-path CertSrv/mscep/mscep.dll/pkiclient.exe set system certificate scep csr CSR distinguished-names 'DC=scep, DC=com, CN=entity2' set system certificate scep csr CSR encrypted-password U2FsdGVkX1/AHDFhhWxBcuEnKIa7iq/I896F7W+smIbjS43vqq9ux/k/a205phOsUgTTUAtLhdmVNPpRM3ArxQ== set system certificate scep csr CSR port 443 set system certificate scep csr CSR url 'http://192.168.213.25/' set vpn ipsec auth-profile AUTH local csr CSR set vpn ipsec auth-profile AUTH mirror-config false set vpn ipsec auth-profile AUTH mode x509 set vpn ipsec esp-group ESP-POLICY lifetime 28800 set vpn ipsec esp-group ESP-POLICY proposal 1 encryption null set vpn ipsec esp-group ESP-POLICY proposal 1 hash sha1 set vpn ipsec esp-group ESP-POLICY proposal 1 pfs dh-group15 set vpn ipsec ike-group IKE-POLICY key-exchange ikev2 set vpn ipsec ike-group IKE-POLICY lifetime 28800 set vpn ipsec ike-group IKE-POLICY proposal 1 dh-group 15 set vpn ipsec ike-group IKE-POLICY proposal 1 encryption null set vpn ipsec ike-group IKE-POLICY proposal 1 hash sha1 set vpn ipsec ike-group IKE-POLICY proposal 2 dh-group 15 set vpn ipsec ike-group IKE-POLICY proposal 2 encryption aes256 set vpn ipsec ike-group IKE-POLICY proposal 2 hash sha1 set vpn ipsec logging log-types any log-level 1 set vpn ipsec site-to-site peer PEER auth-profile AUTH set vpn ipsec site-to-site peer PEER connection-type respond set vpn ipsec site-to-site peer PEER ike-group IKE-POLICY set vpn ipsec site-to-site peer PEER local-address 9.0.0.2 set vpn ipsec site-to-site peer PEER remote-address 8.0.0.2 set vpn ipsec site-to-site peer PEER tunnel 1 esp-group ESP-POLICY set vpn ipsec site-to-site peer PEER tunnel 1 local prefix 192.168.2.0/24 set vpn ipsec site-to-site peer PEER tunnel 1 remote prefix 192.168.1.0/24
Step 8: Run command pki scep show CSR
at DUT0
and check if output matches the following regular expressions:
ca\s+Uninitialized usercert\s+UninitializedShow output
------------------------------------------------------ Certificate Status Usage NotBefore NotAfter ------------------------------------------------------ ca Uninitialized - - - usercert Uninitialized - - -
Step 9: Run command pki scep show CSR
at DUT2
and check if output matches the following regular expressions:
ca\s+Uninitialized usercert\s+UninitializedShow output
------------------------------------------------------ Certificate Status Usage NotBefore NotAfter ------------------------------------------------------ ca Uninitialized - - - usercert Uninitialized - - -
Note
The credentials will not be downloaded because the port for the connection to PKI server is configured wrong on purpose. Once the credentials are ready, the VPN should be established automatically.
Step 10: Modify the following configuration lines in DUT2
:
set system certificate scep csr CSR port 80
Step 11: Modify the following configuration lines in DUT0
:
set system certificate scep csr CSR port 80
Step 12: Run command pki scep show CSR
at DUT0
and check if output matches the following regular expressions:
ca\s+Valid usercert\s+ValidShow output
------------------------------------------------------------------------------------- Certificate Status Usage NotBefore NotAfter ------------------------------------------------------------------------------------- ca Valid Signature Dec 14 10:00:35 2023 GMT Dec 14 10:10:34 2053 GMT ra Valid Encipherment Dec 21 09:33:45 2023 GMT Dec 20 09:33:45 2025 GMT ra-2 Valid Signature Dec 21 09:33:43 2023 GMT Dec 20 09:33:43 2025 GMT usercert Valid - Aug 20 13:59:06 2025 GMT Aug 20 17:59:06 2025 GMT
Step 13: Run command pki scep show CSR
at DUT2
and check if output matches the following regular expressions:
ca\s+Valid usercert\s+ValidShow output
------------------------------------------------------------------------------------- Certificate Status Usage NotBefore NotAfter ------------------------------------------------------------------------------------- ca Valid Signature Dec 14 10:00:35 2023 GMT Dec 14 10:10:34 2053 GMT ra Valid Encipherment Dec 21 09:33:45 2023 GMT Dec 20 09:33:45 2025 GMT ra-2 Valid Signature Dec 21 09:33:43 2023 GMT Dec 20 09:33:43 2025 GMT usercert Valid - Aug 20 13:59:00 2025 GMT Aug 20 17:59:00 2025 GMT
Step 14: Run command vpn ipsec show sa
at DUT0
and check if output matches the following regular expressions:
vpn-peer-PEER: \#\d, ESTABLISHED, IKEv2Show output
vpn-peer-PEER: #1, ESTABLISHED, IKEv2, 76234b567941143b_i* 26c3471c2e2b08c4_r local 'DC=scep, DC=com, CN=entity1' @ 8.0.0.2[500] remote 'DC=scep, DC=com, CN=entity2' @ 9.0.0.2[500] NULL/HMAC_SHA1_96/PRF_HMAC_SHA1/MODP_3072 established 20s ago, rekeying in 24363s peer-PEER-tunnel-1: #1, reqid 1, INSTALLED, TUNNEL, ESP:NULL/HMAC_SHA1_96 installed 20s ago, rekeying in 17210s, expires in 31660s in cdd85dfd, 0 bytes, 0 packets out cca48430, 0 bytes, 0 packets local 192.168.1.0/24 remote 192.168.2.0/24
Step 15: Run command vpn ipsec show sa
at DUT2
and check if output matches the following regular expressions:
vpn-peer-PEER: \#\d, ESTABLISHED, IKEv2Show output
vpn-peer-PEER: #1, ESTABLISHED, IKEv2, 76234b567941143b_i 26c3471c2e2b08c4_r* local 'DC=scep, DC=com, CN=entity2' @ 9.0.0.2[500] remote 'DC=scep, DC=com, CN=entity1' @ 8.0.0.2[500] NULL/HMAC_SHA1_96/PRF_HMAC_SHA1/MODP_3072 established 19s ago, rekeying in 24432s peer-PEER-tunnel-1: #1, reqid 1, INSTALLED, TUNNEL, ESP:NULL/HMAC_SHA1_96 installed 19s ago, rekeying in 15117s, expires in 31661s in cca48430, 0 bytes, 0 packets out cdd85dfd, 0 bytes, 0 packets local 192.168.2.0/24 remote 192.168.1.0/24
Step 16: Run command pki show remote-certificate site-to-site PEER filter-issuer TELDAT
at DUT0
and check if output contains the following tokens:
DC = scep, DC = com, CN = entity2Show output
Certificate: Data: Version: 3 (0x2) Serial Number: 1c:00:00:fd:6c:79:69:ab:52:cb:74:b6:87:00:00:00:00:fd:6c Signature Algorithm: sha256WithRSAEncryption Issuer: DC = com, DC = scep, CN = scep-TELDATPKI-CA Validity Not Before: Aug 20 13:59:06 2025 GMT Not After : Aug 20 17:59:06 2025 GMT Subject: DC = scep, DC = com, CN = entity1 Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (2048 bit) Modulus: 00:b0:b4:f3:fe:e6:ef:0c:c6:0a:2e:73:86:67:9c: ad:df:fe:18:e9:76:ae:72:b4:67:cc:de:47:0e:40: 36:69:e0:ef:b2:4a:f2:e0:d6:06:09:0f:6b:a9:cc: ea:71:5f:12:0f:5f:71:42:d0:95:ca:95:a6:b6:8c: ec:72:08:67:1f:da:e8:2a:b8:34:24:3e:bb:71:50: 42:e8:66:e1:a2:c5:41:ed:70:df:13:f3:29:c8:28: 2d:51:c3:a9:ab:6e:5a:25:a8:b6:2b:bd:48:a6:8a: 8d:07:5c:88:cb:64:56:cf:62:fd:aa:16:97:14:90: 8a:11:6c:20:14:d1:33:2f:a8:bd:f3:64:04:6e:83: 44:1e:30:bb:48:b9:ef:88:96:f7:78:39:03:49:78: 9d:a7:62:84:1b:f8:63:79:8c:6b:0b:f3:05:36:1a: 0a:3d:55:7f:46:b6:17:bc:7c:41:92:b1:ae:79:66: 82:f7:ba:16:c6:1e:ef:30:01:09:2f:09:53:dc:c9: 4a:b4:1a:37:08:c9:0b:1e:5e:d4:69:d5:31:9e:ff: 24:58:c9:75:36:27:d3:3b:2a:ef:50:f0:ab:33:6f: be:7d:fc:34:61:84:5d:4d:4b:c2:7f:ca:cc:84:fc: 3c:b4:b1:83:06:89:b0:5a:bd:b7:50:8e:d2:c9:46: 52:5d Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Subject Key Identifier: 93:8B:E6:2B:81:0E:2D:16:36:0F:A5:63:A2:85:B3:EC:D0:82:B2:26 X509v3 Authority Key Identifier: AF:CF:34:AD:5B:BC:15:CF:9E:0B:FB:4A:ED:09:79:E0:01:68:5D:B8 X509v3 CRL Distribution Points: Full Name: URI:http://192.168.213.25/CertEnroll/scep-TELDATPKI-CA.crl Authority Information Access: CA Issuers - URI:ldap:///CN=scep-TELDATPKI-CA,CN=AIA,CN=Public%20Key%20Services,CN=Services,CN=Configuration,DC=scep,DC=com?cACertificate?base?objectClass=certificationAuthority X509v3 Key Usage: critical Digital Signature, Key Encipherment, Data Encipherment 1.3.6.1.4.1.311.21.7: 0..&+.....7.....3......./...(...f<...[...]..d.. X509v3 Extended Key Usage: 1.3.6.1.4.1.311.20.1, Microsoft Encrypted File System, Code Signing, Any Extended Key Usage, TLS Web Server Authentication, Signing KDC Response, TLS Web Client Authentication, 1.3.6.1.4.1.311.21.5, 1.3.6.1.4.1.311.20.2.1, 1.3.6.1.5.5.8.2.2 1.3.6.1.4.1.311.21.10: 0y0...+.....7..0.. +.....7 ..0 ..+.......0...U.%.0 ..+.......0...+......0 ..+.......0...+.....7..0.. +.....7...0 ..+....... S/MIME Capabilities: 050...*.H.. ......0...*.H.. ......0...+....0 ..*.H.. .. Signature Algorithm: sha256WithRSAEncryption Signature Value: 6f:e5:39:a4:e8:4c:58:ce:c6:c7:f0:f1:57:95:b4:27:b4:b6: 50:20:9a:98:8a:25:ab:95:44:62:51:f4:d5:ec:3f:f3:4b:12: 70:25:4a:6b:39:47:67:a3:e2:26:25:7d:0d:ac:80:25:a2:18: 69:8f:f9:20:15:c3:ea:38:16:52:23:8a:10:df:4c:ba:54:c3: b0:71:2c:ff:dd:a7:be:73:8c:ee:cf:a8:5c:a4:8e:83:1f:0e: e3:60:44:02:b0:45:fc:64:d4:38:5f:bd:11:7b:4b:10:81:23: 4f:81:28:10:6c:85:58:2a:2a:3e:f5:7d:b8:fc:6b:a6:60:a1: 3e:cd:11:24:6c:f0:90:97:b7:b0:6a:fd:80:45:eb:a7:e2:9a: fc:79:43:da:db:99:a0:a3:86:b5:1b:d1:fa:2e:fd:43:27:5f: 54:f4:5f:c0:f1:d4:10:53:f8:88:89:44:0e:a1:2f:38:80:87: 40:17:39:67:8d:c0:3a:b1:ca:9c:7c:ee:e4:84:7e:67:13:52: 2e:19:0f:3c:70:18:0b:7a:2b:d6:7c:f9:4b:fd:dd:c0:9b:9b: fb:51:de:8c:20:2e:37:5a:59:87:10:55:5f:9d:6b:de:2f:97: da:2e:c9:2e:37:02:31:4c:dc:79:77:d2:9b:8f:3d:06:09:03: f5:ee:f9:66 ---------------------------------------------------------------------- Certificate: Data: Version: 3 (0x2) Serial Number: 1c:00:00:fd:6b:31:d3:a5:c4:77:df:09:23:00:00:00:00:fd:6b Signature Algorithm: sha256WithRSAEncryption Issuer: DC = com, DC = scep, CN = scep-TELDATPKI-CA Validity Not Before: Aug 20 13:59:00 2025 GMT Not After : Aug 20 17:59:00 2025 GMT Subject: DC = scep, DC = com, CN = entity2 Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (2048 bit) Modulus: 00:a5:b4:b6:26:5a:50:2e:cf:d8:78:81:35:46:65: 84:d9:d5:97:65:4e:fd:71:33:65:1a:34:96:1e:b9: 5b:4b:84:9d:c9:39:36:24:45:b4:cf:15:23:20:05: 96:a6:17:9a:8c:77:e5:b9:0d:27:2b:35:a5:7f:cc: 5d:c0:f2:59:82:ba:5a:2d:ce:d3:c9:d5:64:95:35: 2c:92:73:fb:7c:98:59:f5:81:25:62:6a:4d:c3:0f: 39:69:e7:04:fe:9e:5b:37:a8:5c:9f:6b:b6:77:68: a9:1d:57:79:b7:6f:26:f2:96:d0:4a:99:24:1f:40: a3:bc:71:f1:3d:69:76:0c:ef:77:52:c1:09:f0:37: b8:e7:a4:eb:20:b4:44:5c:be:07:f7:f5:d7:65:55: 06:53:42:dd:4f:7a:4f:4a:85:01:79:cd:43:80:7c: b2:af:e3:74:75:48:13:39:7d:2d:44:7c:0b:7f:73: 3a:43:6b:f4:f3:59:1e:96:bc:4a:e0:df:c8:af:98: 5a:3f:e4:cc:c3:4d:11:90:11:15:d0:97:93:15:eb: ba:26:d4:05:92:61:61:89:a8:db:58:d2:15:be:c5: 95:79:a1:18:50:c0:d6:43:ba:3f:92:b6:01:88:8c: c9:e6:be:d1:0f:e5:83:86:0a:dc:1c:fa:a5:51:86: 36:39 Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Subject Key Identifier: 3B:8F:A8:61:54:31:E3:75:D3:89:C4:F8:18:F4:9A:72:EC:A9:4D:71 X509v3 Authority Key Identifier: AF:CF:34:AD:5B:BC:15:CF:9E:0B:FB:4A:ED:09:79:E0:01:68:5D:B8 X509v3 CRL Distribution Points: Full Name: URI:http://192.168.213.25/CertEnroll/scep-TELDATPKI-CA.crl Authority Information Access: CA Issuers - URI:ldap:///CN=scep-TELDATPKI-CA,CN=AIA,CN=Public%20Key%20Services,CN=Services,CN=Configuration,DC=scep,DC=com?cACertificate?base?objectClass=certificationAuthority X509v3 Key Usage: critical Digital Signature, Key Encipherment, Data Encipherment 1.3.6.1.4.1.311.21.7: 0..&+.....7.....3......./...(...f<...[...]..d.. X509v3 Extended Key Usage: 1.3.6.1.4.1.311.20.1, Microsoft Encrypted File System, Code Signing, Any Extended Key Usage, TLS Web Server Authentication, Signing KDC Response, TLS Web Client Authentication, 1.3.6.1.4.1.311.21.5, 1.3.6.1.4.1.311.20.2.1, 1.3.6.1.5.5.8.2.2 1.3.6.1.4.1.311.21.10: 0y0...+.....7..0.. +.....7 ..0 ..+.......0...U.%.0 ..+.......0...+......0 ..+.......0...+.....7..0.. +.....7...0 ..+....... S/MIME Capabilities: 050...*.H.. ......0...*.H.. ......0...+....0 ..*.H.. .. Signature Algorithm: sha256WithRSAEncryption Signature Value: 70:96:77:d7:4b:dc:cc:1c:48:69:c5:f6:b5:a2:25:bb:3f:b7: 93:2f:dc:3a:65:20:65:a9:5b:95:9d:e0:1e:9f:5d:a9:57:9c: e9:a5:bc:9b:d4:93:14:35:3a:da:58:ea:98:37:38:10:a1:71: 23:b4:1e:39:dc:07:7a:d3:fb:a2:eb:a4:94:a9:ec:32:05:69: c0:5e:12:bb:02:72:9a:bc:b7:fe:6d:ee:28:1d:3b:81:4f:12: f0:fc:55:0a:75:64:15:20:62:c2:26:d1:2f:7d:32:81:40:97: da:50:ba:89:66:2c:b6:24:68:17:ff:aa:1c:0c:80:88:b1:98: 2f:fd:27:48:aa:15:96:a1:0b:67:cf:b5:77:51:0b:17:7f:c6: c3:c4:be:96:00:e8:24:52:ad:19:a8:6c:1b:58:93:1b:8d:98: 6f:cc:2d:c4:7d:f2:65:ff:15:72:89:46:99:bf:cb:87:16:09: fe:9b:58:48:04:21:29:a9:0d:60:cc:19:fa:1d:27:54:d3:c1: 34:46:ac:71:d3:11:39:84:1b:48:3f:d4:47:7f:a2:7c:08:44: 6e:e7:d8:8b:a7:a3:97:83:91:2a:7e:da:17:26:8d:57:ea:d5: d5:ab:d4:4d:67:bd:25:40:ef:7a:18:4e:1b:af:3f:15:ab:a3: da:2a:7f:4e ---------------------------------------------------------------------- Certificate: Data: Version: 3 (0x2) Serial Number: 1a:ea:6d:57:94:fe:a5:9c:42:14:81:ca:79:1b:75:d7 Signature Algorithm: sha256WithRSAEncryption Issuer: DC = com, DC = scep, CN = scep-TELDATPKI-CA Validity Not Before: Dec 14 10:00:35 2023 GMT Not After : Dec 14 10:10:34 2053 GMT Subject: DC = com, DC = scep, CN = scep-TELDATPKI-CA Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (2048 bit) Modulus: 00:bf:c5:be:9a:32:e2:a5:42:6c:b8:42:b5:7b:21: e5:71:b0:79:46:b1:41:bd:25:c3:40:e1:33:8e:1a: 3b:12:ca:26:1e:f3:c9:44:d6:b5:9a:03:cb:14:f5: 82:6f:a8:7e:47:bc:e7:e0:b3:1f:c6:ff:84:54:2b: fd:b6:0d:e1:4f:c3:b7:6a:0f:98:99:c2:8a:b6:b8: 9d:f3:5d:36:f3:af:48:0f:7d:cd:5a:6c:a8:10:0c: 02:b2:0c:af:b3:d8:c3:b4:de:0e:b8:15:6d:4a:f0: 4e:67:7d:c2:3a:dd:03:f7:3d:80:69:63:2c:f9:97: fa:d3:4d:80:13:dd:24:ac:54:ad:f7:cc:25:94:41: fd:2d:e8:2a:8e:a8:91:96:89:d2:9f:0c:17:03:99: 11:f5:ce:2c:db:78:b7:09:75:d1:96:af:58:82:58: 62:86:63:01:16:68:fc:06:db:92:d0:c5:6d:9d:6d: fd:5d:13:b0:2b:37:2f:9c:ae:3b:e3:34:d6:42:7b: 12:01:93:da:ea:b4:c8:ba:9f:57:35:4f:6a:a1:95: c2:5f:40:9d:6b:c1:72:ec:91:9b:72:cc:6a:b8:9e: dc:08:f0:53:09:4f:d4:09:75:28:99:56:f5:66:be: 7d:ca:59:0e:9b:50:4d:be:98:04:20:4d:98:e6:5f: 58:c5 Exponent: 65537 (0x10001) X509v3 extensions: 1.3.6.1.4.1.311.20.2: ...C.A X509v3 Key Usage: critical Digital Signature, Certificate Sign, CRL Sign X509v3 Basic Constraints: critical CA:TRUE X509v3 Subject Key Identifier: AF:CF:34:AD:5B:BC:15:CF:9E:0B:FB:4A:ED:09:79:E0:01:68:5D:B8 1.3.6.1.4.1.311.21.1: ... Signature Algorithm: sha256WithRSAEncryption Signature Value: 6c:44:b8:33:b1:75:08:00:07:7f:2b:a4:80:f2:6a:ff:94:4c: ee:85:cc:61:db:49:59:19:cc:01:2f:c5:45:4b:d2:8d:dc:77: 54:7d:3c:34:75:28:c9:16:28:94:15:51:3d:e6:f7:dc:9b:d8: cd:63:bb:d3:ec:fc:ae:32:7e:cd:be:50:c2:9f:f7:91:de:9e: bb:44:d3:24:09:4d:dd:5f:67:ad:58:ad:7e:cc:9e:9f:8f:c8: 48:f5:d9:03:9a:a3:df:cd:e5:8a:e0:03:9e:36:f9:ba:fd:ff: 0b:a0:15:8c:66:9f:49:bc:e8:94:3e:61:7d:78:ff:48:66:d1: 13:54:1d:41:61:63:28:ba:d9:f8:6a:c4:df:48:16:d2:69:39: c0:38:ea:54:84:e0:40:17:d9:2c:43:58:be:e4:a1:5d:e2:6c: e9:23:55:b7:6e:61:8f:4e:72:4f:c2:d5:c4:7a:74:f5:8e:b3: 0e:2c:bc:5d:7d:ba:f8:ae:3b:f0:d6:b0:2e:1f:3f:fd:2d:77: 7d:52:bf:f7:07:ba:9d:64:60:57:1d:68:34:bb:cb:44:ac:dd: 55:c2:40:a1:98:84:b7:74:50:a4:50:95:0e:12:59:96:b9:af: bc:b3:09:e6:67:39:26:7e:b0:41:07:90:57:72:40:2a:11:7a: 2e:ac:be:b8
Step 17: Run command pki show remote-certificate site-to-site PEER filter-issuer TELDAT
at DUT2
and check if output contains the following tokens:
DC = scep, DC = com, CN = entity1Show output
Certificate: Data: Version: 3 (0x2) Serial Number: 1c:00:00:fd:6c:79:69:ab:52:cb:74:b6:87:00:00:00:00:fd:6c Signature Algorithm: sha256WithRSAEncryption Issuer: DC = com, DC = scep, CN = scep-TELDATPKI-CA Validity Not Before: Aug 20 13:59:06 2025 GMT Not After : Aug 20 17:59:06 2025 GMT Subject: DC = scep, DC = com, CN = entity1 Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (2048 bit) Modulus: 00:b0:b4:f3:fe:e6:ef:0c:c6:0a:2e:73:86:67:9c: ad:df:fe:18:e9:76:ae:72:b4:67:cc:de:47:0e:40: 36:69:e0:ef:b2:4a:f2:e0:d6:06:09:0f:6b:a9:cc: ea:71:5f:12:0f:5f:71:42:d0:95:ca:95:a6:b6:8c: ec:72:08:67:1f:da:e8:2a:b8:34:24:3e:bb:71:50: 42:e8:66:e1:a2:c5:41:ed:70:df:13:f3:29:c8:28: 2d:51:c3:a9:ab:6e:5a:25:a8:b6:2b:bd:48:a6:8a: 8d:07:5c:88:cb:64:56:cf:62:fd:aa:16:97:14:90: 8a:11:6c:20:14:d1:33:2f:a8:bd:f3:64:04:6e:83: 44:1e:30:bb:48:b9:ef:88:96:f7:78:39:03:49:78: 9d:a7:62:84:1b:f8:63:79:8c:6b:0b:f3:05:36:1a: 0a:3d:55:7f:46:b6:17:bc:7c:41:92:b1:ae:79:66: 82:f7:ba:16:c6:1e:ef:30:01:09:2f:09:53:dc:c9: 4a:b4:1a:37:08:c9:0b:1e:5e:d4:69:d5:31:9e:ff: 24:58:c9:75:36:27:d3:3b:2a:ef:50:f0:ab:33:6f: be:7d:fc:34:61:84:5d:4d:4b:c2:7f:ca:cc:84:fc: 3c:b4:b1:83:06:89:b0:5a:bd:b7:50:8e:d2:c9:46: 52:5d Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Subject Key Identifier: 93:8B:E6:2B:81:0E:2D:16:36:0F:A5:63:A2:85:B3:EC:D0:82:B2:26 X509v3 Authority Key Identifier: AF:CF:34:AD:5B:BC:15:CF:9E:0B:FB:4A:ED:09:79:E0:01:68:5D:B8 X509v3 CRL Distribution Points: Full Name: URI:http://192.168.213.25/CertEnroll/scep-TELDATPKI-CA.crl Authority Information Access: CA Issuers - URI:ldap:///CN=scep-TELDATPKI-CA,CN=AIA,CN=Public%20Key%20Services,CN=Services,CN=Configuration,DC=scep,DC=com?cACertificate?base?objectClass=certificationAuthority X509v3 Key Usage: critical Digital Signature, Key Encipherment, Data Encipherment 1.3.6.1.4.1.311.21.7: 0..&+.....7.....3......./...(...f<...[...]..d.. X509v3 Extended Key Usage: 1.3.6.1.4.1.311.20.1, Microsoft Encrypted File System, Code Signing, Any Extended Key Usage, TLS Web Server Authentication, Signing KDC Response, TLS Web Client Authentication, 1.3.6.1.4.1.311.21.5, 1.3.6.1.4.1.311.20.2.1, 1.3.6.1.5.5.8.2.2 1.3.6.1.4.1.311.21.10: 0y0...+.....7..0.. +.....7 ..0 ..+.......0...U.%.0 ..+.......0...+......0 ..+.......0...+.....7..0.. +.....7...0 ..+....... S/MIME Capabilities: 050...*.H.. ......0...*.H.. ......0...+....0 ..*.H.. .. Signature Algorithm: sha256WithRSAEncryption Signature Value: 6f:e5:39:a4:e8:4c:58:ce:c6:c7:f0:f1:57:95:b4:27:b4:b6: 50:20:9a:98:8a:25:ab:95:44:62:51:f4:d5:ec:3f:f3:4b:12: 70:25:4a:6b:39:47:67:a3:e2:26:25:7d:0d:ac:80:25:a2:18: 69:8f:f9:20:15:c3:ea:38:16:52:23:8a:10:df:4c:ba:54:c3: b0:71:2c:ff:dd:a7:be:73:8c:ee:cf:a8:5c:a4:8e:83:1f:0e: e3:60:44:02:b0:45:fc:64:d4:38:5f:bd:11:7b:4b:10:81:23: 4f:81:28:10:6c:85:58:2a:2a:3e:f5:7d:b8:fc:6b:a6:60:a1: 3e:cd:11:24:6c:f0:90:97:b7:b0:6a:fd:80:45:eb:a7:e2:9a: fc:79:43:da:db:99:a0:a3:86:b5:1b:d1:fa:2e:fd:43:27:5f: 54:f4:5f:c0:f1:d4:10:53:f8:88:89:44:0e:a1:2f:38:80:87: 40:17:39:67:8d:c0:3a:b1:ca:9c:7c:ee:e4:84:7e:67:13:52: 2e:19:0f:3c:70:18:0b:7a:2b:d6:7c:f9:4b:fd:dd:c0:9b:9b: fb:51:de:8c:20:2e:37:5a:59:87:10:55:5f:9d:6b:de:2f:97: da:2e:c9:2e:37:02:31:4c:dc:79:77:d2:9b:8f:3d:06:09:03: f5:ee:f9:66 ---------------------------------------------------------------------- Certificate: Data: Version: 3 (0x2) Serial Number: 1c:00:00:fd:6b:31:d3:a5:c4:77:df:09:23:00:00:00:00:fd:6b Signature Algorithm: sha256WithRSAEncryption Issuer: DC = com, DC = scep, CN = scep-TELDATPKI-CA Validity Not Before: Aug 20 13:59:00 2025 GMT Not After : Aug 20 17:59:00 2025 GMT Subject: DC = scep, DC = com, CN = entity2 Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (2048 bit) Modulus: 00:a5:b4:b6:26:5a:50:2e:cf:d8:78:81:35:46:65: 84:d9:d5:97:65:4e:fd:71:33:65:1a:34:96:1e:b9: 5b:4b:84:9d:c9:39:36:24:45:b4:cf:15:23:20:05: 96:a6:17:9a:8c:77:e5:b9:0d:27:2b:35:a5:7f:cc: 5d:c0:f2:59:82:ba:5a:2d:ce:d3:c9:d5:64:95:35: 2c:92:73:fb:7c:98:59:f5:81:25:62:6a:4d:c3:0f: 39:69:e7:04:fe:9e:5b:37:a8:5c:9f:6b:b6:77:68: a9:1d:57:79:b7:6f:26:f2:96:d0:4a:99:24:1f:40: a3:bc:71:f1:3d:69:76:0c:ef:77:52:c1:09:f0:37: b8:e7:a4:eb:20:b4:44:5c:be:07:f7:f5:d7:65:55: 06:53:42:dd:4f:7a:4f:4a:85:01:79:cd:43:80:7c: b2:af:e3:74:75:48:13:39:7d:2d:44:7c:0b:7f:73: 3a:43:6b:f4:f3:59:1e:96:bc:4a:e0:df:c8:af:98: 5a:3f:e4:cc:c3:4d:11:90:11:15:d0:97:93:15:eb: ba:26:d4:05:92:61:61:89:a8:db:58:d2:15:be:c5: 95:79:a1:18:50:c0:d6:43:ba:3f:92:b6:01:88:8c: c9:e6:be:d1:0f:e5:83:86:0a:dc:1c:fa:a5:51:86: 36:39 Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Subject Key Identifier: 3B:8F:A8:61:54:31:E3:75:D3:89:C4:F8:18:F4:9A:72:EC:A9:4D:71 X509v3 Authority Key Identifier: AF:CF:34:AD:5B:BC:15:CF:9E:0B:FB:4A:ED:09:79:E0:01:68:5D:B8 X509v3 CRL Distribution Points: Full Name: URI:http://192.168.213.25/CertEnroll/scep-TELDATPKI-CA.crl Authority Information Access: CA Issuers - URI:ldap:///CN=scep-TELDATPKI-CA,CN=AIA,CN=Public%20Key%20Services,CN=Services,CN=Configuration,DC=scep,DC=com?cACertificate?base?objectClass=certificationAuthority X509v3 Key Usage: critical Digital Signature, Key Encipherment, Data Encipherment 1.3.6.1.4.1.311.21.7: 0..&+.....7.....3......./...(...f<...[...]..d.. X509v3 Extended Key Usage: 1.3.6.1.4.1.311.20.1, Microsoft Encrypted File System, Code Signing, Any Extended Key Usage, TLS Web Server Authentication, Signing KDC Response, TLS Web Client Authentication, 1.3.6.1.4.1.311.21.5, 1.3.6.1.4.1.311.20.2.1, 1.3.6.1.5.5.8.2.2 1.3.6.1.4.1.311.21.10: 0y0...+.....7..0.. +.....7 ..0 ..+.......0...U.%.0 ..+.......0...+......0 ..+.......0...+.....7..0.. +.....7...0 ..+....... S/MIME Capabilities: 050...*.H.. ......0...*.H.. ......0...+....0 ..*.H.. .. Signature Algorithm: sha256WithRSAEncryption Signature Value: 70:96:77:d7:4b:dc:cc:1c:48:69:c5:f6:b5:a2:25:bb:3f:b7: 93:2f:dc:3a:65:20:65:a9:5b:95:9d:e0:1e:9f:5d:a9:57:9c: e9:a5:bc:9b:d4:93:14:35:3a:da:58:ea:98:37:38:10:a1:71: 23:b4:1e:39:dc:07:7a:d3:fb:a2:eb:a4:94:a9:ec:32:05:69: c0:5e:12:bb:02:72:9a:bc:b7:fe:6d:ee:28:1d:3b:81:4f:12: f0:fc:55:0a:75:64:15:20:62:c2:26:d1:2f:7d:32:81:40:97: da:50:ba:89:66:2c:b6:24:68:17:ff:aa:1c:0c:80:88:b1:98: 2f:fd:27:48:aa:15:96:a1:0b:67:cf:b5:77:51:0b:17:7f:c6: c3:c4:be:96:00:e8:24:52:ad:19:a8:6c:1b:58:93:1b:8d:98: 6f:cc:2d:c4:7d:f2:65:ff:15:72:89:46:99:bf:cb:87:16:09: fe:9b:58:48:04:21:29:a9:0d:60:cc:19:fa:1d:27:54:d3:c1: 34:46:ac:71:d3:11:39:84:1b:48:3f:d4:47:7f:a2:7c:08:44: 6e:e7:d8:8b:a7:a3:97:83:91:2a:7e:da:17:26:8d:57:ea:d5: d5:ab:d4:4d:67:bd:25:40:ef:7a:18:4e:1b:af:3f:15:ab:a3: da:2a:7f:4e ---------------------------------------------------------------------- Certificate: Data: Version: 3 (0x2) Serial Number: 1a:ea:6d:57:94:fe:a5:9c:42:14:81:ca:79:1b:75:d7 Signature Algorithm: sha256WithRSAEncryption Issuer: DC = com, DC = scep, CN = scep-TELDATPKI-CA Validity Not Before: Dec 14 10:00:35 2023 GMT Not After : Dec 14 10:10:34 2053 GMT Subject: DC = com, DC = scep, CN = scep-TELDATPKI-CA Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (2048 bit) Modulus: 00:bf:c5:be:9a:32:e2:a5:42:6c:b8:42:b5:7b:21: e5:71:b0:79:46:b1:41:bd:25:c3:40:e1:33:8e:1a: 3b:12:ca:26:1e:f3:c9:44:d6:b5:9a:03:cb:14:f5: 82:6f:a8:7e:47:bc:e7:e0:b3:1f:c6:ff:84:54:2b: fd:b6:0d:e1:4f:c3:b7:6a:0f:98:99:c2:8a:b6:b8: 9d:f3:5d:36:f3:af:48:0f:7d:cd:5a:6c:a8:10:0c: 02:b2:0c:af:b3:d8:c3:b4:de:0e:b8:15:6d:4a:f0: 4e:67:7d:c2:3a:dd:03:f7:3d:80:69:63:2c:f9:97: fa:d3:4d:80:13:dd:24:ac:54:ad:f7:cc:25:94:41: fd:2d:e8:2a:8e:a8:91:96:89:d2:9f:0c:17:03:99: 11:f5:ce:2c:db:78:b7:09:75:d1:96:af:58:82:58: 62:86:63:01:16:68:fc:06:db:92:d0:c5:6d:9d:6d: fd:5d:13:b0:2b:37:2f:9c:ae:3b:e3:34:d6:42:7b: 12:01:93:da:ea:b4:c8:ba:9f:57:35:4f:6a:a1:95: c2:5f:40:9d:6b:c1:72:ec:91:9b:72:cc:6a:b8:9e: dc:08:f0:53:09:4f:d4:09:75:28:99:56:f5:66:be: 7d:ca:59:0e:9b:50:4d:be:98:04:20:4d:98:e6:5f: 58:c5 Exponent: 65537 (0x10001) X509v3 extensions: 1.3.6.1.4.1.311.20.2: ...C.A X509v3 Key Usage: critical Digital Signature, Certificate Sign, CRL Sign X509v3 Basic Constraints: critical CA:TRUE X509v3 Subject Key Identifier: AF:CF:34:AD:5B:BC:15:CF:9E:0B:FB:4A:ED:09:79:E0:01:68:5D:B8 1.3.6.1.4.1.311.21.1: ... Signature Algorithm: sha256WithRSAEncryption Signature Value: 6c:44:b8:33:b1:75:08:00:07:7f:2b:a4:80:f2:6a:ff:94:4c: ee:85:cc:61:db:49:59:19:cc:01:2f:c5:45:4b:d2:8d:dc:77: 54:7d:3c:34:75:28:c9:16:28:94:15:51:3d:e6:f7:dc:9b:d8: cd:63:bb:d3:ec:fc:ae:32:7e:cd:be:50:c2:9f:f7:91:de:9e: bb:44:d3:24:09:4d:dd:5f:67:ad:58:ad:7e:cc:9e:9f:8f:c8: 48:f5:d9:03:9a:a3:df:cd:e5:8a:e0:03:9e:36:f9:ba:fd:ff: 0b:a0:15:8c:66:9f:49:bc:e8:94:3e:61:7d:78:ff:48:66:d1: 13:54:1d:41:61:63:28:ba:d9:f8:6a:c4:df:48:16:d2:69:39: c0:38:ea:54:84:e0:40:17:d9:2c:43:58:be:e4:a1:5d:e2:6c: e9:23:55:b7:6e:61:8f:4e:72:4f:c2:d5:c4:7a:74:f5:8e:b3: 0e:2c:bc:5d:7d:ba:f8:ae:3b:f0:d6:b0:2e:1f:3f:fd:2d:77: 7d:52:bf:f7:07:ba:9d:64:60:57:1d:68:34:bb:cb:44:ac:dd: 55:c2:40:a1:98:84:b7:74:50:a4:50:95:0e:12:59:96:b9:af: bc:b3:09:e6:67:39:26:7e:b0:41:07:90:57:72:40:2a:11:7a: 2e:ac:be:b8
Step 18: Ping IP address 192.168.2.1
from DUT0
:
admin@DUT0$ ping 192.168.2.1 local-address 192.168.1.1 count 1 size 56 timeout 1Show output
PING 192.168.2.1 (192.168.2.1) from 192.168.1.1 : 56(84) bytes of data. 64 bytes from 192.168.2.1: icmp_seq=1 ttl=64 time=0.452 ms --- 192.168.2.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.452/0.452/0.452/0.000 ms
Step 19: Ping IP address 192.168.1.1
from DUT2
:
admin@DUT2$ ping 192.168.1.1 local-address 192.168.2.1 count 1 size 56 timeout 1Show output
PING 192.168.1.1 (192.168.1.1) from 192.168.2.1 : 56(84) bytes of data. 64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.475 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.475/0.475/0.475/0.000 ms