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.625 ms --- 192.168.213.25 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.625/0.625/0.625/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.570 ms --- 192.168.213.25 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.570/0.570/0.570/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 U2FsdGVkX1/aVIgbCRvKz+/qGpmeMimj0DIBACFBL6wuerzUh/dsCwbPXl9jQ2uBjAGpmJYpdvCyEl0ve3xKLQ== 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+eVeQ0xP46fAqwOQEx/PecvKfIvha5mNUyp4sxe4srFpNaYS8XDKOpcRbF9TOxgvS/jnSAcOxgZw== 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_CERT\s+Valid USER_CERT\s+ValidShow output
----------------------------------------------------------------------- Certificate Status NotBefore NotAfter ----------------------------------------------------------------------- CA_CERT Valid Dec 14 10:00:35 2023 GMT Dec 14 10:10:34 2053 GMT USER_CERT Valid May 19 18:54:40 2025 GMT May 19 22:54:40 2025 GMT
Step 9: Run command pki scep show CSR
at DUT2
and check if output matches the following regular expressions:
CA_CERT\s+Valid USER_CERT\s+ValidShow output
----------------------------------------------------------------------- Certificate Status NotBefore NotAfter ----------------------------------------------------------------------- CA_CERT Valid Dec 14 10:00:35 2023 GMT Dec 14 10:10:34 2053 GMT USER_CERT Valid May 19 18:54:42 2025 GMT May 19 22:54:42 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, 7c6fee4a9165d2a7_i* 6e51637b59436538_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 23261s peer-PEER-tunnel-1: #1, reqid 1, INSTALLED, TUNNEL, ESP:NULL/HMAC_SHA1_96 installed 19s ago, rekeying in 28264s, expires in 31661s in c8f95f24, 0 bytes, 0 packets out cc8db0d3, 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, 7c6fee4a9165d2a7_i 6e51637b59436538_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 25972s peer-PEER-tunnel-1: #1, reqid 1, INSTALLED, TUNNEL, ESP:NULL/HMAC_SHA1_96 installed 19s ago, rekeying in 27362s, expires in 31661s in cc8db0d3, 0 bytes, 0 packets out c8f95f24, 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:dc:01:b1:c3:ce:3b:62:8f:87:b6:00:00:00:00:dc:01 Signature Algorithm: sha256WithRSAEncryption Issuer: DC = com, DC = scep, CN = scep-TELDATPKI-CA Validity Not Before: May 19 18:54:40 2025 GMT Not After : May 19 22:54:40 2025 GMT Subject: DC = scep, DC = com, CN = entity1 Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (2048 bit) Modulus: 00:a9:03:fb:d9:0b:a5:5b:f9:ec:31:85:f4:e6:8a: c6:2e:e6:ba:a3:2d:6e:93:15:2f:e0:f0:20:5a:63: 8f:58:08:68:dd:11:b0:8f:e7:a3:ba:41:2b:3a:a3: 68:42:12:fd:6d:f0:9d:5f:31:95:ad:46:81:86:0d: ef:be:19:00:72:06:0a:7a:70:58:08:44:e5:00:2b: 06:37:0e:5d:e6:7d:df:73:01:2d:b8:13:48:18:c2: e5:f3:a2:3e:17:6c:40:50:77:0a:46:72:47:e0:06: 10:10:2b:09:4a:31:66:c5:d0:57:69:16:54:7b:6f: a0:2f:29:f0:e4:f7:14:4f:23:0d:40:ce:81:13:85: 94:9e:04:fe:84:43:30:e8:7f:eb:1f:9b:2c:60:ed: 92:e5:e8:49:b2:03:06:36:12:d2:33:51:94:8d:80: 4b:a5:b7:4a:58:b6:92:2c:0b:9d:42:50:84:f5:14: c0:62:68:a6:77:42:cd:95:39:8b:c6:0c:02:3c:19: aa:0a:32:c7:7d:a3:d6:c7:23:02:14:0f:7f:b5:03: 16:88:02:57:d0:6f:07:c3:77:ef:78:10:b5:01:ab: 2f:84:87:50:ea:ea:78:b2:48:6e:44:21:3a:5e:83: b7:00:b6:94:83:87:58:4e:03:26:9e:cb:16:a5:75: 9e:a7 Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Subject Key Identifier: A5:AD:77:4F:96:89:E6:6E:EA:A6:5A:01:3E:48:D9:02:14:BB:77:A0 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: 9e:a9:54:5b:bc:8b:47:fb:7d:6a:c4:da:29:76:5d:22:b9:09: f1:7c:aa:91:c4:cf:80:9a:2c:b1:26:74:fd:76:31:e0:8d:e6: cc:a1:05:08:11:a9:0c:ef:12:20:55:82:26:11:8b:9d:79:14: 95:e8:8c:b7:68:97:82:b7:83:20:bb:c2:d3:ec:53:86:a6:e9: 8c:9e:57:6d:85:ad:71:58:00:b9:18:14:5d:19:e2:72:36:a0: f3:01:cf:a2:df:3c:2c:39:b4:ce:33:72:bc:c2:0d:2f:db:cb: 51:7f:b5:53:c1:a6:1f:9a:1e:8f:b1:17:a6:0c:2c:2f:df:9f: 42:e9:70:dc:7f:63:7d:fe:3a:86:06:b8:d6:6c:d5:ac:18:b4: d4:57:11:64:c4:cd:29:a8:69:ea:dc:09:d6:38:27:32:85:00: 7d:28:4f:40:ea:57:07:72:7b:d4:8b:7f:71:e8:6e:8d:3a:c7: 0b:cb:45:07:92:0c:da:9b:89:23:22:91:02:92:0e:c1:a4:7b: 00:0a:cd:f1:fa:11:2d:45:1a:ce:21:69:83:ec:1e:cb:d7:e3: e0:1a:e7:70:ed:5c:50:00:2c:36:b0:1f:f8:66:a4:41:cb:95: e2:bd:be:31:14:90:26:e5:21:91:5c:7d:0b:b5:ed:b9:4f:82: b5:bb:4e:76 ---------------------------------------------------------------------- Certificate: Data: Version: 3 (0x2) Serial Number: 1c:00:00:dc:02:f4:ea:5c:8f:0c:58:95:88:00:00:00:00:dc:02 Signature Algorithm: sha256WithRSAEncryption Issuer: DC = com, DC = scep, CN = scep-TELDATPKI-CA Validity Not Before: May 19 18:54:42 2025 GMT Not After : May 19 22:54:42 2025 GMT Subject: DC = scep, DC = com, CN = entity2 Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (2048 bit) Modulus: 00:df:80:b1:42:c3:e2:ea:25:88:0a:56:1d:76:4c: e6:c9:4d:26:56:48:a0:23:e4:15:f7:e0:70:ab:f4: 14:59:6b:b0:37:7c:7f:de:e2:ff:39:23:34:2c:9d: 1b:6a:26:fe:6b:95:00:f1:6e:75:42:98:97:19:8e: e8:bf:36:96:04:cf:0d:76:05:84:cb:62:b2:12:8c: 6e:d4:9d:2c:8b:e5:71:98:19:ce:ad:31:dc:55:d3: 5e:60:d0:6b:cc:4e:49:da:b9:69:0a:4d:af:1f:13: 5c:28:59:cb:b4:58:c3:22:e4:44:15:0f:ba:c4:53: 28:5c:2f:66:28:2b:9b:60:ae:fd:b3:75:f6:56:1d: 52:6b:2d:e2:03:a4:01:75:29:69:8b:03:ea:1d:ed: 97:35:13:85:55:a3:ba:e7:b3:8e:e6:8e:64:2e:ee: 0c:e9:46:48:5e:12:62:78:3e:53:a8:5c:7e:45:1e: 03:c9:9f:6b:2a:24:43:cf:74:3a:82:43:79:33:43: f9:2c:7b:86:60:b8:49:3d:d2:80:60:8d:e2:38:77: b4:b2:f1:ec:86:8b:91:e5:57:68:26:04:c5:0c:c4: bc:17:82:16:23:2e:8c:82:54:3c:65:c2:9f:96:ae: 17:fe:c6:c8:3b:ab:9b:1b:fc:4e:b8:57:a3:2a:b1: ee:a5 Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Subject Key Identifier: F2:27:AC:B7:15:69:56:52:24:8C:E4:5D:C0:49:A9:94:7D:41:05:AF 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: 66:06:b6:62:1a:ac:e5:0a:0a:95:ae:44:c2:4a:36:88:d6:0e: b9:d8:4b:3f:9b:3d:84:e8:32:c2:88:24:5d:88:5d:61:a0:cf: 41:2e:2b:23:cf:d4:f2:58:6a:f0:8f:4b:a7:d1:a6:e4:73:54: 53:58:c3:61:f4:08:11:97:0b:b2:02:29:53:fb:ce:61:99:47: 1c:ec:54:f7:5b:ed:06:e9:b5:fb:ae:85:c6:71:a4:c7:ca:62: d5:18:3c:fc:fb:b7:dc:3e:df:5e:a5:5d:61:a5:d6:bf:ea:3e: 30:5c:e8:92:c3:35:6c:81:14:e0:85:31:1c:3e:c1:c9:ed:c2: 2b:57:88:31:96:ee:98:5a:17:b8:8b:87:dc:89:2c:1d:01:63: d6:ea:b3:b0:67:e3:f6:79:22:3c:5f:2a:0d:d3:4a:18:45:b5: f9:dd:6b:d7:27:aa:c8:ba:1e:9e:70:94:2b:a4:69:21:23:c8: fd:47:37:66:5d:6a:8e:97:f6:38:55:f5:d0:62:14:b0:c3:a1: c5:13:b2:a2:e3:fb:de:35:33:9a:8b:01:0d:15:de:af:1f:c8: 6c:4b:63:6b:87:d2:46:7b:37:3a:04:c5:64:ab:31:7f:14:f4: 47:b6:4f:53:ce:b3:2f:a7:53:4f:56:87:64:4b:06:c8:d6:64: d0:62:45:a1 ---------------------------------------------------------------------- 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:dc:01:b1:c3:ce:3b:62:8f:87:b6:00:00:00:00:dc:01 Signature Algorithm: sha256WithRSAEncryption Issuer: DC = com, DC = scep, CN = scep-TELDATPKI-CA Validity Not Before: May 19 18:54:40 2025 GMT Not After : May 19 22:54:40 2025 GMT Subject: DC = scep, DC = com, CN = entity1 Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (2048 bit) Modulus: 00:a9:03:fb:d9:0b:a5:5b:f9:ec:31:85:f4:e6:8a: c6:2e:e6:ba:a3:2d:6e:93:15:2f:e0:f0:20:5a:63: 8f:58:08:68:dd:11:b0:8f:e7:a3:ba:41:2b:3a:a3: 68:42:12:fd:6d:f0:9d:5f:31:95:ad:46:81:86:0d: ef:be:19:00:72:06:0a:7a:70:58:08:44:e5:00:2b: 06:37:0e:5d:e6:7d:df:73:01:2d:b8:13:48:18:c2: e5:f3:a2:3e:17:6c:40:50:77:0a:46:72:47:e0:06: 10:10:2b:09:4a:31:66:c5:d0:57:69:16:54:7b:6f: a0:2f:29:f0:e4:f7:14:4f:23:0d:40:ce:81:13:85: 94:9e:04:fe:84:43:30:e8:7f:eb:1f:9b:2c:60:ed: 92:e5:e8:49:b2:03:06:36:12:d2:33:51:94:8d:80: 4b:a5:b7:4a:58:b6:92:2c:0b:9d:42:50:84:f5:14: c0:62:68:a6:77:42:cd:95:39:8b:c6:0c:02:3c:19: aa:0a:32:c7:7d:a3:d6:c7:23:02:14:0f:7f:b5:03: 16:88:02:57:d0:6f:07:c3:77:ef:78:10:b5:01:ab: 2f:84:87:50:ea:ea:78:b2:48:6e:44:21:3a:5e:83: b7:00:b6:94:83:87:58:4e:03:26:9e:cb:16:a5:75: 9e:a7 Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Subject Key Identifier: A5:AD:77:4F:96:89:E6:6E:EA:A6:5A:01:3E:48:D9:02:14:BB:77:A0 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: 9e:a9:54:5b:bc:8b:47:fb:7d:6a:c4:da:29:76:5d:22:b9:09: f1:7c:aa:91:c4:cf:80:9a:2c:b1:26:74:fd:76:31:e0:8d:e6: cc:a1:05:08:11:a9:0c:ef:12:20:55:82:26:11:8b:9d:79:14: 95:e8:8c:b7:68:97:82:b7:83:20:bb:c2:d3:ec:53:86:a6:e9: 8c:9e:57:6d:85:ad:71:58:00:b9:18:14:5d:19:e2:72:36:a0: f3:01:cf:a2:df:3c:2c:39:b4:ce:33:72:bc:c2:0d:2f:db:cb: 51:7f:b5:53:c1:a6:1f:9a:1e:8f:b1:17:a6:0c:2c:2f:df:9f: 42:e9:70:dc:7f:63:7d:fe:3a:86:06:b8:d6:6c:d5:ac:18:b4: d4:57:11:64:c4:cd:29:a8:69:ea:dc:09:d6:38:27:32:85:00: 7d:28:4f:40:ea:57:07:72:7b:d4:8b:7f:71:e8:6e:8d:3a:c7: 0b:cb:45:07:92:0c:da:9b:89:23:22:91:02:92:0e:c1:a4:7b: 00:0a:cd:f1:fa:11:2d:45:1a:ce:21:69:83:ec:1e:cb:d7:e3: e0:1a:e7:70:ed:5c:50:00:2c:36:b0:1f:f8:66:a4:41:cb:95: e2:bd:be:31:14:90:26:e5:21:91:5c:7d:0b:b5:ed:b9:4f:82: b5:bb:4e:76 ---------------------------------------------------------------------- Certificate: Data: Version: 3 (0x2) Serial Number: 1c:00:00:dc:02:f4:ea:5c:8f:0c:58:95:88:00:00:00:00:dc:02 Signature Algorithm: sha256WithRSAEncryption Issuer: DC = com, DC = scep, CN = scep-TELDATPKI-CA Validity Not Before: May 19 18:54:42 2025 GMT Not After : May 19 22:54:42 2025 GMT Subject: DC = scep, DC = com, CN = entity2 Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (2048 bit) Modulus: 00:df:80:b1:42:c3:e2:ea:25:88:0a:56:1d:76:4c: e6:c9:4d:26:56:48:a0:23:e4:15:f7:e0:70:ab:f4: 14:59:6b:b0:37:7c:7f:de:e2:ff:39:23:34:2c:9d: 1b:6a:26:fe:6b:95:00:f1:6e:75:42:98:97:19:8e: e8:bf:36:96:04:cf:0d:76:05:84:cb:62:b2:12:8c: 6e:d4:9d:2c:8b:e5:71:98:19:ce:ad:31:dc:55:d3: 5e:60:d0:6b:cc:4e:49:da:b9:69:0a:4d:af:1f:13: 5c:28:59:cb:b4:58:c3:22:e4:44:15:0f:ba:c4:53: 28:5c:2f:66:28:2b:9b:60:ae:fd:b3:75:f6:56:1d: 52:6b:2d:e2:03:a4:01:75:29:69:8b:03:ea:1d:ed: 97:35:13:85:55:a3:ba:e7:b3:8e:e6:8e:64:2e:ee: 0c:e9:46:48:5e:12:62:78:3e:53:a8:5c:7e:45:1e: 03:c9:9f:6b:2a:24:43:cf:74:3a:82:43:79:33:43: f9:2c:7b:86:60:b8:49:3d:d2:80:60:8d:e2:38:77: b4:b2:f1:ec:86:8b:91:e5:57:68:26:04:c5:0c:c4: bc:17:82:16:23:2e:8c:82:54:3c:65:c2:9f:96:ae: 17:fe:c6:c8:3b:ab:9b:1b:fc:4e:b8:57:a3:2a:b1: ee:a5 Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Subject Key Identifier: F2:27:AC:B7:15:69:56:52:24:8C:E4:5D:C0:49:A9:94:7D:41:05:AF 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: 66:06:b6:62:1a:ac:e5:0a:0a:95:ae:44:c2:4a:36:88:d6:0e: b9:d8:4b:3f:9b:3d:84:e8:32:c2:88:24:5d:88:5d:61:a0:cf: 41:2e:2b:23:cf:d4:f2:58:6a:f0:8f:4b:a7:d1:a6:e4:73:54: 53:58:c3:61:f4:08:11:97:0b:b2:02:29:53:fb:ce:61:99:47: 1c:ec:54:f7:5b:ed:06:e9:b5:fb:ae:85:c6:71:a4:c7:ca:62: d5:18:3c:fc:fb:b7:dc:3e:df:5e:a5:5d:61:a5:d6:bf:ea:3e: 30:5c:e8:92:c3:35:6c:81:14:e0:85:31:1c:3e:c1:c9:ed:c2: 2b:57:88:31:96:ee:98:5a:17:b8:8b:87:dc:89:2c:1d:01:63: d6:ea:b3:b0:67:e3:f6:79:22:3c:5f:2a:0d:d3:4a:18:45:b5: f9:dd:6b:d7:27:aa:c8:ba:1e:9e:70:94:2b:a4:69:21:23:c8: fd:47:37:66:5d:6a:8e:97:f6:38:55:f5:d0:62:14:b0:c3:a1: c5:13:b2:a2:e3:fb:de:35:33:9a:8b:01:0d:15:de:af:1f:c8: 6c:4b:63:6b:87:d2:46:7b:37:3a:04:c5:64:ab:31:7f:14:f4: 47:b6:4f:53:ce:b3:2f:a7:53:4f:56:87:64:4b:06:c8:d6:64: d0:62:45:a1 ---------------------------------------------------------------------- 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.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 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.398 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.398/0.398/0.398/0.000 ms
Step 18: Run command pki scep request-ca CSR
at DUT0
and check if output contains the following tokens:
CA certificate acquisition completed successfullyShow output
CA certificate 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 certificate acquisition completed successfullyShow output
CA certificate 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.619 ms --- 192.168.213.25 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.619/0.619/0.619/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.595 ms --- 192.168.213.25 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.595/0.595/0.595/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 U2FsdGVkX1+14ik5VPQKyq828Cmf2fpzKJbrNZWfagp3AaTloUf5eeI6eQWDzEeXmdp/tPycGePCI9KNeFKrvQ== 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 U2FsdGVkX19MU0yY/0EXMvtPdBV3hIfqDoqCPhLAwoCJYzeyemoI0yZB1h6sf7x5dB0ysEaozzu58b/KyYvR0w== 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_CERT\s+Uninitialized USER_CERT\s+UninitializedShow output
----------------------------------------------- Certificate Status NotBefore NotAfter ----------------------------------------------- CA_CERT Uninitialized USER_CERT Uninitialized
Step 9: Run command pki scep show CSR
at DUT2
and check if output matches the following regular expressions:
CA_CERT\s+Uninitialized USER_CERT\s+UninitializedShow output
----------------------------------------------- Certificate Status NotBefore NotAfter ----------------------------------------------- CA_CERT Uninitialized USER_CERT 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_CERT\s+Valid USER_CERT\s+ValidShow output
----------------------------------------------------------------------- Certificate Status NotBefore NotAfter ----------------------------------------------------------------------- CA_CERT Valid Dec 14 10:00:35 2023 GMT Dec 14 10:10:34 2053 GMT USER_CERT Valid May 19 18:56:14 2025 GMT May 19 22:56:14 2025 GMT
Step 13: Run command pki scep show CSR
at DUT2
and check if output matches the following regular expressions:
CA_CERT\s+Valid USER_CERT\s+ValidShow output
----------------------------------------------------------------------- Certificate Status NotBefore NotAfter ----------------------------------------------------------------------- CA_CERT Valid Dec 14 10:00:35 2023 GMT Dec 14 10:10:34 2053 GMT USER_CERT Valid May 19 18:56:08 2025 GMT May 19 22:56:08 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, 36f6ce3a46f363c3_i* 31f1279461bb5598_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 14836s peer-PEER-tunnel-1: #1, reqid 1, INSTALLED, TUNNEL, ESP:NULL/HMAC_SHA1_96 installed 20s ago, rekeying in 17914s, expires in 31660s in c5956ea0, 0 bytes, 0 packets out c29488a9, 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, 36f6ce3a46f363c3_i 31f1279461bb5598_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 21s ago, rekeying in 27933s peer-PEER-tunnel-1: #1, reqid 1, INSTALLED, TUNNEL, ESP:NULL/HMAC_SHA1_96 installed 21s ago, rekeying in 18105s, expires in 31659s in c29488a9, 0 bytes, 0 packets out c5956ea0, 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:dc:04:18:c4:2b:92:c8:64:e6:1e:00:00:00:00:dc:04 Signature Algorithm: sha256WithRSAEncryption Issuer: DC = com, DC = scep, CN = scep-TELDATPKI-CA Validity Not Before: May 19 18:56:14 2025 GMT Not After : May 19 22:56:14 2025 GMT Subject: DC = scep, DC = com, CN = entity1 Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (2048 bit) Modulus: 00:dc:17:1c:b2:9a:f5:d0:04:60:66:5a:76:14:a9: 35:60:14:62:4c:88:4b:be:d8:50:d1:b8:9b:21:4f: bc:b4:65:e2:b2:40:e9:b6:d4:ad:33:a8:8a:44:01: fe:d3:1d:9d:f6:ef:41:cb:4a:3c:a1:e6:7d:f4:6c: c7:9b:3e:21:53:70:21:b9:e6:2a:34:73:72:90:fe: 8c:9b:80:ed:e0:30:ba:69:34:09:e0:52:7b:b4:bf: 82:4d:4d:85:84:46:47:92:d2:e5:ea:20:a0:5d:08: 5f:89:a8:96:e7:b0:89:65:52:00:2a:30:5f:3a:99: 59:a5:17:40:25:b5:a2:f0:a7:33:f5:a9:df:ae:31: 5f:bd:63:bc:4e:f1:39:df:82:0f:ae:14:42:02:a0: fd:7a:90:62:de:6b:da:2d:66:61:92:f1:8b:7e:9c: 7a:86:68:3f:04:57:2f:b4:c8:60:c1:37:d9:95:ce: 2f:1f:34:c4:90:5d:1f:0b:d1:68:e4:d1:88:d8:f4: 04:50:5a:ee:27:44:a9:85:8e:2f:75:b6:64:e9:d2: 9f:00:f6:de:40:4b:7c:4d:fb:93:ac:ec:b4:26:35: 1b:5b:ba:d0:3d:6b:54:58:06:11:ed:6e:c6:1e:b9: 70:f7:14:64:db:1d:4e:79:ba:db:5c:39:d9:ea:45: 3f:8f Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Subject Key Identifier: 25:7A:6F:56:6A:81:42:E4:EC:E5:A3:3C:A8:20:05:BE:6B:03:26:5D 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: 53:fb:7c:6b:b8:cf:30:53:28:98:77:8e:4b:95:54:22:c2:8d: a3:48:2b:3b:c5:58:9c:57:c7:bd:04:cf:e1:87:cb:9d:d4:a0: ab:43:3e:ed:a0:b4:2f:28:ad:2f:60:54:69:85:06:e2:bf:fc: 9c:c6:b0:8d:fc:72:a4:9e:d2:0c:b3:c0:8a:24:90:d3:42:fa: 8a:de:b7:21:51:a4:18:31:38:77:57:de:0f:55:72:09:81:f8: 7a:de:61:8e:8d:3e:34:d8:60:de:22:60:59:36:5d:e6:38:bf: 60:69:c2:98:01:09:bf:22:19:34:62:a6:25:f8:ac:4a:01:d1: 2b:d4:4c:99:c4:0f:73:df:1d:f7:51:35:49:af:29:b1:38:d8: ce:ac:13:74:af:47:d5:b7:00:61:9a:15:d7:6c:06:2d:a5:79: cc:89:2e:80:4b:04:f7:14:c5:9d:26:3d:cb:48:c1:2f:ea:8e: 8b:70:c0:ce:4a:d7:fb:39:22:89:a6:5e:c6:30:a6:3d:6c:82: 65:65:3c:0b:07:99:ea:4c:3d:2a:e4:fc:74:82:f3:da:cc:74: 6d:22:25:3e:2a:a5:bb:e6:1a:1d:50:20:fe:f9:31:e8:46:69: 09:65:e5:28:5a:77:5e:ad:fa:6b:5c:07:21:13:34:9a:8f:60: 56:9e:62:5e ---------------------------------------------------------------------- Certificate: Data: Version: 3 (0x2) Serial Number: 1c:00:00:dc:03:f2:45:c5:71:48:41:ca:55:00:00:00:00:dc:03 Signature Algorithm: sha256WithRSAEncryption Issuer: DC = com, DC = scep, CN = scep-TELDATPKI-CA Validity Not Before: May 19 18:56:08 2025 GMT Not After : May 19 22:56:08 2025 GMT Subject: DC = scep, DC = com, CN = entity2 Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (2048 bit) Modulus: 00:c3:95:41:74:fa:f9:89:cf:82:ad:9e:cb:77:75: c0:96:d1:fd:4e:d6:85:12:5b:00:16:65:28:0c:ff: ea:fc:89:d1:c8:f8:5e:56:a6:34:17:9c:cb:ee:43: 16:23:52:39:95:63:69:53:e1:d3:18:8f:57:eb:ce: 21:d0:ac:9d:d3:d4:c6:5e:78:20:1a:87:d8:5f:c9: f8:68:06:b1:d3:7d:8c:d0:ed:af:a5:c9:5e:08:c5: 8e:c5:b8:aa:27:8c:c4:e2:8f:f2:ea:12:df:80:52: aa:73:e3:a1:7e:fd:d0:6b:26:61:3d:d8:24:da:2d: 15:c5:a0:5e:c7:60:15:0f:95:b5:17:9d:87:30:b4: 7d:15:10:5d:29:ce:e1:67:29:78:9d:95:6e:f1:ff: de:a6:a8:6f:a2:c8:e2:da:ee:03:dd:e9:08:e8:be: 49:cb:5f:c0:ee:77:1e:b7:6b:ab:30:13:15:3b:7f: 43:da:5a:a1:f4:24:c4:af:dc:19:06:75:61:69:21: ae:bf:46:6e:a7:de:bb:1b:8b:7f:99:f2:fc:58:5d: ee:6b:e8:2c:22:1e:d3:43:ab:4e:66:fd:65:0c:37: be:47:c2:ff:da:3a:dc:93:b7:38:fe:a0:1c:cc:44: 0b:ba:23:0b:5c:70:64:b1:5f:44:38:e9:1a:41:b6: d2:3f Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Subject Key Identifier: 37:3F:33:C0:E6:49:CC:0B:4A:40:79:01:EC:62:3E:ED:E6:A2:BB:17 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: 04:b8:e4:a6:cb:c3:f1:d9:76:7d:6c:fb:ea:6d:15:dc:1e:88: f6:80:0b:8e:af:f2:4a:0d:11:3d:25:c4:e3:d5:25:58:75:d7: 8f:76:93:5b:c6:be:34:cf:e6:97:bc:b5:0c:3f:5d:a5:30:b5: 5d:49:b6:f7:9e:dd:da:92:d1:cc:56:3d:cb:a7:a4:37:96:19: 0e:b7:21:7c:6a:4f:c4:b9:a5:62:32:c0:30:d6:a9:dc:e6:ae: 92:03:7b:03:90:b7:57:93:e5:7f:98:ca:7d:14:aa:65:8b:2d: a8:65:f3:72:87:93:6d:5b:0a:b9:a8:e7:da:ad:74:9c:95:0d: cd:af:5f:c2:4d:cf:18:a8:01:2c:c5:0a:e2:c9:35:41:9f:4f: ed:34:7e:54:dc:ae:6a:60:56:14:c2:c9:da:8b:19:cd:d3:70: 9c:83:c1:e4:a6:06:57:90:89:ea:ac:99:ca:65:e3:5e:34:a2: 12:22:76:f8:d7:4c:9e:cd:47:30:ff:8b:11:93:fc:47:5b:8e: 79:ed:be:48:d1:63:37:7d:a6:18:78:9e:ea:55:c7:f6:33:d9: b3:1f:00:7d:27:a3:9e:5f:b1:bd:e0:19:ba:3a:20:16:1f:18: c8:eb:f0:67:ab:f5:dd:83:a3:13:15:ad:8d:76:e8:3b:c4:0b: 09:bb:4d:7b ---------------------------------------------------------------------- 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:dc:04:18:c4:2b:92:c8:64:e6:1e:00:00:00:00:dc:04 Signature Algorithm: sha256WithRSAEncryption Issuer: DC = com, DC = scep, CN = scep-TELDATPKI-CA Validity Not Before: May 19 18:56:14 2025 GMT Not After : May 19 22:56:14 2025 GMT Subject: DC = scep, DC = com, CN = entity1 Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (2048 bit) Modulus: 00:dc:17:1c:b2:9a:f5:d0:04:60:66:5a:76:14:a9: 35:60:14:62:4c:88:4b:be:d8:50:d1:b8:9b:21:4f: bc:b4:65:e2:b2:40:e9:b6:d4:ad:33:a8:8a:44:01: fe:d3:1d:9d:f6:ef:41:cb:4a:3c:a1:e6:7d:f4:6c: c7:9b:3e:21:53:70:21:b9:e6:2a:34:73:72:90:fe: 8c:9b:80:ed:e0:30:ba:69:34:09:e0:52:7b:b4:bf: 82:4d:4d:85:84:46:47:92:d2:e5:ea:20:a0:5d:08: 5f:89:a8:96:e7:b0:89:65:52:00:2a:30:5f:3a:99: 59:a5:17:40:25:b5:a2:f0:a7:33:f5:a9:df:ae:31: 5f:bd:63:bc:4e:f1:39:df:82:0f:ae:14:42:02:a0: fd:7a:90:62:de:6b:da:2d:66:61:92:f1:8b:7e:9c: 7a:86:68:3f:04:57:2f:b4:c8:60:c1:37:d9:95:ce: 2f:1f:34:c4:90:5d:1f:0b:d1:68:e4:d1:88:d8:f4: 04:50:5a:ee:27:44:a9:85:8e:2f:75:b6:64:e9:d2: 9f:00:f6:de:40:4b:7c:4d:fb:93:ac:ec:b4:26:35: 1b:5b:ba:d0:3d:6b:54:58:06:11:ed:6e:c6:1e:b9: 70:f7:14:64:db:1d:4e:79:ba:db:5c:39:d9:ea:45: 3f:8f Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Subject Key Identifier: 25:7A:6F:56:6A:81:42:E4:EC:E5:A3:3C:A8:20:05:BE:6B:03:26:5D 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: 53:fb:7c:6b:b8:cf:30:53:28:98:77:8e:4b:95:54:22:c2:8d: a3:48:2b:3b:c5:58:9c:57:c7:bd:04:cf:e1:87:cb:9d:d4:a0: ab:43:3e:ed:a0:b4:2f:28:ad:2f:60:54:69:85:06:e2:bf:fc: 9c:c6:b0:8d:fc:72:a4:9e:d2:0c:b3:c0:8a:24:90:d3:42:fa: 8a:de:b7:21:51:a4:18:31:38:77:57:de:0f:55:72:09:81:f8: 7a:de:61:8e:8d:3e:34:d8:60:de:22:60:59:36:5d:e6:38:bf: 60:69:c2:98:01:09:bf:22:19:34:62:a6:25:f8:ac:4a:01:d1: 2b:d4:4c:99:c4:0f:73:df:1d:f7:51:35:49:af:29:b1:38:d8: ce:ac:13:74:af:47:d5:b7:00:61:9a:15:d7:6c:06:2d:a5:79: cc:89:2e:80:4b:04:f7:14:c5:9d:26:3d:cb:48:c1:2f:ea:8e: 8b:70:c0:ce:4a:d7:fb:39:22:89:a6:5e:c6:30:a6:3d:6c:82: 65:65:3c:0b:07:99:ea:4c:3d:2a:e4:fc:74:82:f3:da:cc:74: 6d:22:25:3e:2a:a5:bb:e6:1a:1d:50:20:fe:f9:31:e8:46:69: 09:65:e5:28:5a:77:5e:ad:fa:6b:5c:07:21:13:34:9a:8f:60: 56:9e:62:5e ---------------------------------------------------------------------- Certificate: Data: Version: 3 (0x2) Serial Number: 1c:00:00:dc:03:f2:45:c5:71:48:41:ca:55:00:00:00:00:dc:03 Signature Algorithm: sha256WithRSAEncryption Issuer: DC = com, DC = scep, CN = scep-TELDATPKI-CA Validity Not Before: May 19 18:56:08 2025 GMT Not After : May 19 22:56:08 2025 GMT Subject: DC = scep, DC = com, CN = entity2 Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (2048 bit) Modulus: 00:c3:95:41:74:fa:f9:89:cf:82:ad:9e:cb:77:75: c0:96:d1:fd:4e:d6:85:12:5b:00:16:65:28:0c:ff: ea:fc:89:d1:c8:f8:5e:56:a6:34:17:9c:cb:ee:43: 16:23:52:39:95:63:69:53:e1:d3:18:8f:57:eb:ce: 21:d0:ac:9d:d3:d4:c6:5e:78:20:1a:87:d8:5f:c9: f8:68:06:b1:d3:7d:8c:d0:ed:af:a5:c9:5e:08:c5: 8e:c5:b8:aa:27:8c:c4:e2:8f:f2:ea:12:df:80:52: aa:73:e3:a1:7e:fd:d0:6b:26:61:3d:d8:24:da:2d: 15:c5:a0:5e:c7:60:15:0f:95:b5:17:9d:87:30:b4: 7d:15:10:5d:29:ce:e1:67:29:78:9d:95:6e:f1:ff: de:a6:a8:6f:a2:c8:e2:da:ee:03:dd:e9:08:e8:be: 49:cb:5f:c0:ee:77:1e:b7:6b:ab:30:13:15:3b:7f: 43:da:5a:a1:f4:24:c4:af:dc:19:06:75:61:69:21: ae:bf:46:6e:a7:de:bb:1b:8b:7f:99:f2:fc:58:5d: ee:6b:e8:2c:22:1e:d3:43:ab:4e:66:fd:65:0c:37: be:47:c2:ff:da:3a:dc:93:b7:38:fe:a0:1c:cc:44: 0b:ba:23:0b:5c:70:64:b1:5f:44:38:e9:1a:41:b6: d2:3f Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Subject Key Identifier: 37:3F:33:C0:E6:49:CC:0B:4A:40:79:01:EC:62:3E:ED:E6:A2:BB:17 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: 04:b8:e4:a6:cb:c3:f1:d9:76:7d:6c:fb:ea:6d:15:dc:1e:88: f6:80:0b:8e:af:f2:4a:0d:11:3d:25:c4:e3:d5:25:58:75:d7: 8f:76:93:5b:c6:be:34:cf:e6:97:bc:b5:0c:3f:5d:a5:30:b5: 5d:49:b6:f7:9e:dd:da:92:d1:cc:56:3d:cb:a7:a4:37:96:19: 0e:b7:21:7c:6a:4f:c4:b9:a5:62:32:c0:30:d6:a9:dc:e6:ae: 92:03:7b:03:90:b7:57:93:e5:7f:98:ca:7d:14:aa:65:8b:2d: a8:65:f3:72:87:93:6d:5b:0a:b9:a8:e7:da:ad:74:9c:95:0d: cd:af:5f:c2:4d:cf:18:a8:01:2c:c5:0a:e2:c9:35:41:9f:4f: ed:34:7e:54:dc:ae:6a:60:56:14:c2:c9:da:8b:19:cd:d3:70: 9c:83:c1:e4:a6:06:57:90:89:ea:ac:99:ca:65:e3:5e:34:a2: 12:22:76:f8:d7:4c:9e:cd:47:30:ff:8b:11:93:fc:47:5b:8e: 79:ed:be:48:d1:63:37:7d:a6:18:78:9e:ea:55:c7:f6:33:d9: b3:1f:00:7d:27:a3:9e:5f:b1:bd:e0:19:ba:3a:20:16:1f:18: c8:eb:f0:67:ab:f5:dd:83:a3:13:15:ad:8d:76:e8:3b:c4:0b: 09:bb:4d:7b ---------------------------------------------------------------------- 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.515 ms --- 192.168.2.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.515/0.515/0.515/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.451 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.451/0.451/0.451/0.000 ms