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.593 ms --- 192.168.213.25 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.593/0.593/0.593/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.621 ms --- 192.168.213.25 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.621/0.621/0.621/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 U2FsdGVkX19wE8H3E/QPjSAvxbJO3zFgsoNz6JqGOJQ++IgvzlNc2Ui5WObAEwv3P/qTvHY8pcWbLxi6fc5qGg== 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 U2FsdGVkX18cXSR0jYQoEwTn9buFIXEOGF11SSO7h1+DclpCteszx1uVFrPKXJnQhXfxXU7hNFzpCs+akiotmA== 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 Mar 10 10:00:11 2025 GMT Mar 10 14:00:11 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 Mar 10 10:00:13 2025 GMT Mar 10 14:00:13 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, 2ed0af54001e6ea7_i* e635527c45fbabc5_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 28380s peer-PEER-tunnel-1: #1, reqid 1, INSTALLED, TUNNEL, ESP:NULL/HMAC_SHA1_96 installed 19s ago, rekeying in 23687s, expires in 31661s in c3cdadec, 0 bytes, 0 packets out c3d954c2, 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, 2ed0af54001e6ea7_i e635527c45fbabc5_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 19757s peer-PEER-tunnel-1: #1, reqid 1, INSTALLED, TUNNEL, ESP:NULL/HMAC_SHA1_96 installed 19s ago, rekeying in 21124s, expires in 31661s in c3d954c2, 0 bytes, 0 packets out c3cdadec, 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:c0:92:c6:0e:6b:fc:b3:c2:c2:5d:00:00:00:00:c0:92 Signature Algorithm: sha256WithRSAEncryption Issuer: DC = com, DC = scep, CN = scep-TELDATPKI-CA Validity Not Before: Mar 10 10:00:11 2025 GMT Not After : Mar 10 14:00:11 2025 GMT Subject: DC = scep, DC = com, CN = entity1 Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (2048 bit) Modulus: 00:b9:96:21:20:0f:42:26:2e:e7:b0:c2:ea:cd:e3: 56:5a:33:bd:85:fa:4c:cf:ec:15:e8:ad:4d:11:1a: a8:bc:95:2b:90:8d:91:7c:13:c3:7a:b1:36:30:23: d4:fc:ad:ac:c9:46:5b:12:95:30:4c:be:ca:bd:1e: ac:45:e4:9a:ff:53:5c:65:68:40:d1:52:95:1c:2f: fd:10:77:be:39:a9:4f:38:e4:c9:d4:df:dd:d3:6d: 2f:74:7c:9d:b0:bd:31:e4:41:81:69:cf:6c:ce:ef: f9:b5:da:ca:6c:88:64:1d:64:49:a6:1d:be:c9:19: 6e:60:7c:9d:8a:65:04:2c:96:4a:1a:41:7a:34:e2: 26:c5:d4:5a:db:ef:3b:cc:a6:83:e0:30:83:ce:00: f9:bb:e4:20:e5:e9:09:14:ba:f2:79:44:8b:2f:d1: 7b:ca:0e:17:09:ee:3b:67:2d:bc:b0:5e:de:1b:55: 97:80:88:4f:60:2e:e0:70:80:e4:e8:0f:36:e0:d7: af:b6:c6:ac:31:53:4a:94:3c:27:ef:26:2f:8f:da: dc:03:82:57:b6:a7:fc:0a:0c:5f:04:ca:6f:07:83: bd:b6:e1:66:81:3b:fe:78:ac:f0:67:46:5b:86:ca: 63:af:41:22:61:92:1a:d9:68:00:ac:6b:82:9e:9c: 90:79 Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Subject Key Identifier: D7:EF:0C:94:74:08:A1:23:33:D6:C4:24:4A:E7:BA:59:72:2E:DD:56 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: 1a:fb:94:86:c0:57:fd:57:65:be:88:7a:fa:f1:89:f9:79:60: 57:f0:dd:87:bb:9f:2c:c8:9b:2c:90:8d:16:58:f9:c0:f5:53: 1a:46:7f:04:ea:b0:39:7f:1e:ff:6d:3d:3d:36:0a:18:e1:63: 48:15:6b:2c:18:45:e5:3d:76:72:76:89:df:34:52:66:e8:29: 4b:de:b0:bf:49:25:6d:13:95:af:05:f6:18:28:19:4c:88:67: 51:d7:4b:18:ac:51:a7:e7:e7:8a:de:3d:a4:d7:8f:21:c6:f3: fc:4e:db:99:77:fc:15:9e:35:49:7a:6c:20:ed:6c:8c:55:3b: 8a:d9:c7:53:51:94:94:dd:35:2b:59:e2:89:18:fb:28:12:69: 33:35:8e:c8:a3:a4:ab:c9:76:63:e9:e9:40:0f:8f:42:11:79: e4:3c:48:2f:8d:6f:d7:f9:fc:f8:1b:ee:80:e0:e3:19:25:c9: 65:c5:31:c9:64:ca:58:ff:e1:7d:36:3c:ac:b9:18:c6:29:1f: 93:96:49:28:33:47:77:d4:7f:0d:31:5b:0d:96:5a:32:43:f9: 25:f7:3a:0d:b0:ae:34:ae:ba:e4:2a:fb:93:5e:4e:fe:e0:70: 1a:ec:5a:f5:80:9f:05:66:19:26:05:fe:01:24:75:f1:ea:9e: 27:4e:f3:40 ---------------------------------------------------------------------- Certificate: Data: Version: 3 (0x2) Serial Number: 1c:00:00:c0:93:87:e8:c9:46:0e:8a:45:9e:00:00:00:00:c0:93 Signature Algorithm: sha256WithRSAEncryption Issuer: DC = com, DC = scep, CN = scep-TELDATPKI-CA Validity Not Before: Mar 10 10:00:13 2025 GMT Not After : Mar 10 14:00:13 2025 GMT Subject: DC = scep, DC = com, CN = entity2 Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (2048 bit) Modulus: 00:c7:a8:ce:c4:3b:20:da:83:0b:9e:e8:3e:21:13: 23:01:1a:8c:44:d2:8c:23:1d:dd:20:61:fa:f4:45: 12:20:f7:61:75:d6:3b:38:ce:9b:f5:5a:b4:6e:66: 6f:21:b9:6d:74:86:86:b5:ba:1d:2d:ea:0f:81:fc: 70:a9:cb:6d:74:94:f8:4f:be:c6:bb:ba:c4:96:f0: 94:5d:0d:db:20:75:5b:60:28:bb:7f:84:a6:db:37: 40:80:f6:3d:35:2c:ac:46:21:88:a5:b9:b4:9b:bd: 2e:33:d3:ae:97:fd:08:9b:44:ff:a2:f8:72:0e:ef: 85:d3:c3:e4:3b:17:7d:0c:6b:75:c9:93:d2:b8:17: 8f:f8:81:c3:2a:dd:cf:e2:17:ae:d0:cc:39:05:31: cc:6b:9e:e4:3f:a9:3c:13:6e:4f:07:f6:dc:56:f0: 88:56:97:04:3c:4c:e6:64:58:c4:a1:b0:6c:a2:4f: 86:96:bc:2a:86:46:b0:1d:7e:aa:0f:d5:f1:8f:fd: fb:e0:1b:91:cf:f3:84:dd:2d:0e:cf:1e:d6:10:c8: 15:5b:24:58:9a:d0:6f:9d:71:6a:90:09:3b:3d:00: 6b:bb:42:8d:69:c4:18:c0:72:c1:fc:52:fd:df:d1: e1:41:a8:74:fa:d6:b8:85:4f:26:97:3a:e3:d4:58: f2:59 Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Subject Key Identifier: CF:E3:09:13:1F:84:F0:0B:F7:DA:C5:46:DD:F9:88:FD:64:7E:B7:28 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: 2a:cc:ea:b0:dc:fa:62:56:89:1f:ee:f7:c5:b1:bb:d8:e8:66: 7c:80:de:20:92:f6:dc:83:3f:21:1e:4a:d9:ba:77:ef:df:d7: 25:8d:0d:ab:c2:48:52:bc:a6:ea:93:06:e1:a5:42:02:61:2f: 1e:9a:27:ed:d2:d6:64:42:c9:13:91:2b:bf:8b:50:7d:14:c7: c9:8e:2c:b5:85:91:a2:11:d7:45:d6:b9:05:9a:b0:4d:b7:bd: 1f:74:96:00:df:14:31:f4:fb:78:de:00:95:01:32:45:d5:21: d0:70:22:9d:39:d4:3b:47:02:e3:f1:e6:3b:1e:40:33:65:cf: 4c:5b:0a:8f:9a:d7:0f:3e:00:b9:7f:3e:89:d3:bc:9f:89:6d: 7b:e7:63:32:23:69:9e:08:1e:25:1e:6b:28:5f:00:c5:4d:d2: db:3c:81:55:6d:3a:ec:a2:a0:cb:b8:02:f5:99:1e:82:2c:f7: 1e:d0:69:c8:32:14:16:3c:c2:f6:05:19:3e:f4:b3:20:75:d5: 9a:47:a6:57:e6:b0:f5:7d:f6:60:61:a9:17:21:23:98:be:4a: 7c:c3:c9:f0:ae:08:11:e3:22:d0:3b:a2:d2:83:d1:a6:83:08: ca:31:91:33:bf:24:b1:bb:b8:73:58:7b:9c:35:3f:7e:44:52: 87:bc:e3:b8 ---------------------------------------------------------------------- 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:c0:92:c6:0e:6b:fc:b3:c2:c2:5d:00:00:00:00:c0:92 Signature Algorithm: sha256WithRSAEncryption Issuer: DC = com, DC = scep, CN = scep-TELDATPKI-CA Validity Not Before: Mar 10 10:00:11 2025 GMT Not After : Mar 10 14:00:11 2025 GMT Subject: DC = scep, DC = com, CN = entity1 Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (2048 bit) Modulus: 00:b9:96:21:20:0f:42:26:2e:e7:b0:c2:ea:cd:e3: 56:5a:33:bd:85:fa:4c:cf:ec:15:e8:ad:4d:11:1a: a8:bc:95:2b:90:8d:91:7c:13:c3:7a:b1:36:30:23: d4:fc:ad:ac:c9:46:5b:12:95:30:4c:be:ca:bd:1e: ac:45:e4:9a:ff:53:5c:65:68:40:d1:52:95:1c:2f: fd:10:77:be:39:a9:4f:38:e4:c9:d4:df:dd:d3:6d: 2f:74:7c:9d:b0:bd:31:e4:41:81:69:cf:6c:ce:ef: f9:b5:da:ca:6c:88:64:1d:64:49:a6:1d:be:c9:19: 6e:60:7c:9d:8a:65:04:2c:96:4a:1a:41:7a:34:e2: 26:c5:d4:5a:db:ef:3b:cc:a6:83:e0:30:83:ce:00: f9:bb:e4:20:e5:e9:09:14:ba:f2:79:44:8b:2f:d1: 7b:ca:0e:17:09:ee:3b:67:2d:bc:b0:5e:de:1b:55: 97:80:88:4f:60:2e:e0:70:80:e4:e8:0f:36:e0:d7: af:b6:c6:ac:31:53:4a:94:3c:27:ef:26:2f:8f:da: dc:03:82:57:b6:a7:fc:0a:0c:5f:04:ca:6f:07:83: bd:b6:e1:66:81:3b:fe:78:ac:f0:67:46:5b:86:ca: 63:af:41:22:61:92:1a:d9:68:00:ac:6b:82:9e:9c: 90:79 Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Subject Key Identifier: D7:EF:0C:94:74:08:A1:23:33:D6:C4:24:4A:E7:BA:59:72:2E:DD:56 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: 1a:fb:94:86:c0:57:fd:57:65:be:88:7a:fa:f1:89:f9:79:60: 57:f0:dd:87:bb:9f:2c:c8:9b:2c:90:8d:16:58:f9:c0:f5:53: 1a:46:7f:04:ea:b0:39:7f:1e:ff:6d:3d:3d:36:0a:18:e1:63: 48:15:6b:2c:18:45:e5:3d:76:72:76:89:df:34:52:66:e8:29: 4b:de:b0:bf:49:25:6d:13:95:af:05:f6:18:28:19:4c:88:67: 51:d7:4b:18:ac:51:a7:e7:e7:8a:de:3d:a4:d7:8f:21:c6:f3: fc:4e:db:99:77:fc:15:9e:35:49:7a:6c:20:ed:6c:8c:55:3b: 8a:d9:c7:53:51:94:94:dd:35:2b:59:e2:89:18:fb:28:12:69: 33:35:8e:c8:a3:a4:ab:c9:76:63:e9:e9:40:0f:8f:42:11:79: e4:3c:48:2f:8d:6f:d7:f9:fc:f8:1b:ee:80:e0:e3:19:25:c9: 65:c5:31:c9:64:ca:58:ff:e1:7d:36:3c:ac:b9:18:c6:29:1f: 93:96:49:28:33:47:77:d4:7f:0d:31:5b:0d:96:5a:32:43:f9: 25:f7:3a:0d:b0:ae:34:ae:ba:e4:2a:fb:93:5e:4e:fe:e0:70: 1a:ec:5a:f5:80:9f:05:66:19:26:05:fe:01:24:75:f1:ea:9e: 27:4e:f3:40 ---------------------------------------------------------------------- Certificate: Data: Version: 3 (0x2) Serial Number: 1c:00:00:c0:93:87:e8:c9:46:0e:8a:45:9e:00:00:00:00:c0:93 Signature Algorithm: sha256WithRSAEncryption Issuer: DC = com, DC = scep, CN = scep-TELDATPKI-CA Validity Not Before: Mar 10 10:00:13 2025 GMT Not After : Mar 10 14:00:13 2025 GMT Subject: DC = scep, DC = com, CN = entity2 Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (2048 bit) Modulus: 00:c7:a8:ce:c4:3b:20:da:83:0b:9e:e8:3e:21:13: 23:01:1a:8c:44:d2:8c:23:1d:dd:20:61:fa:f4:45: 12:20:f7:61:75:d6:3b:38:ce:9b:f5:5a:b4:6e:66: 6f:21:b9:6d:74:86:86:b5:ba:1d:2d:ea:0f:81:fc: 70:a9:cb:6d:74:94:f8:4f:be:c6:bb:ba:c4:96:f0: 94:5d:0d:db:20:75:5b:60:28:bb:7f:84:a6:db:37: 40:80:f6:3d:35:2c:ac:46:21:88:a5:b9:b4:9b:bd: 2e:33:d3:ae:97:fd:08:9b:44:ff:a2:f8:72:0e:ef: 85:d3:c3:e4:3b:17:7d:0c:6b:75:c9:93:d2:b8:17: 8f:f8:81:c3:2a:dd:cf:e2:17:ae:d0:cc:39:05:31: cc:6b:9e:e4:3f:a9:3c:13:6e:4f:07:f6:dc:56:f0: 88:56:97:04:3c:4c:e6:64:58:c4:a1:b0:6c:a2:4f: 86:96:bc:2a:86:46:b0:1d:7e:aa:0f:d5:f1:8f:fd: fb:e0:1b:91:cf:f3:84:dd:2d:0e:cf:1e:d6:10:c8: 15:5b:24:58:9a:d0:6f:9d:71:6a:90:09:3b:3d:00: 6b:bb:42:8d:69:c4:18:c0:72:c1:fc:52:fd:df:d1: e1:41:a8:74:fa:d6:b8:85:4f:26:97:3a:e3:d4:58: f2:59 Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Subject Key Identifier: CF:E3:09:13:1F:84:F0:0B:F7:DA:C5:46:DD:F9:88:FD:64:7E:B7:28 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: 2a:cc:ea:b0:dc:fa:62:56:89:1f:ee:f7:c5:b1:bb:d8:e8:66: 7c:80:de:20:92:f6:dc:83:3f:21:1e:4a:d9:ba:77:ef:df:d7: 25:8d:0d:ab:c2:48:52:bc:a6:ea:93:06:e1:a5:42:02:61:2f: 1e:9a:27:ed:d2:d6:64:42:c9:13:91:2b:bf:8b:50:7d:14:c7: c9:8e:2c:b5:85:91:a2:11:d7:45:d6:b9:05:9a:b0:4d:b7:bd: 1f:74:96:00:df:14:31:f4:fb:78:de:00:95:01:32:45:d5:21: d0:70:22:9d:39:d4:3b:47:02:e3:f1:e6:3b:1e:40:33:65:cf: 4c:5b:0a:8f:9a:d7:0f:3e:00:b9:7f:3e:89:d3:bc:9f:89:6d: 7b:e7:63:32:23:69:9e:08:1e:25:1e:6b:28:5f:00:c5:4d:d2: db:3c:81:55:6d:3a:ec:a2:a0:cb:b8:02:f5:99:1e:82:2c:f7: 1e:d0:69:c8:32:14:16:3c:c2:f6:05:19:3e:f4:b3:20:75:d5: 9a:47:a6:57:e6:b0:f5:7d:f6:60:61:a9:17:21:23:98:be:4a: 7c:c3:c9:f0:ae:08:11:e3:22:d0:3b:a2:d2:83:d1:a6:83:08: ca:31:91:33:bf:24:b1:bb:b8:73:58:7b:9c:35:3f:7e:44:52: 87:bc:e3:b8 ---------------------------------------------------------------------- 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.462 ms --- 192.168.2.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.462/0.462/0.462/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.455 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.455/0.455/0.455/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.605 ms --- 192.168.213.25 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.605/0.605/0.605/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.562 ms --- 192.168.213.25 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.562/0.562/0.562/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+Av1OPxY1iquJ9MtHBllRU/iCTC5gZLt3Ayc35gkXTZ2TNgDy/LnsFqVoeVtrYKurkPPy140/AgQ== 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/EPc2FwMrXynZXDAlf3dQ7jDhy0UiSnjTNLIJUjVNYiYA5Xk/PBMx/P2fm4ht++ZDcszEYeQPWiA== 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 Mar 10 10:01:45 2025 GMT Mar 10 14:01:45 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 Mar 10 10:01:40 2025 GMT Mar 10 14:01:40 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, 2f3f24faff1023f8_i* e6a99b580c0914bb_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 21189s peer-PEER-tunnel-1: #1, reqid 1, INSTALLED, TUNNEL, ESP:NULL/HMAC_SHA1_96 installed 20s ago, rekeying in 17467s, expires in 31660s in c3112b2c, 0 bytes, 0 packets out c5492690, 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, 2f3f24faff1023f8_i e6a99b580c0914bb_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 20s ago, rekeying in 15778s peer-PEER-tunnel-1: #1, reqid 1, INSTALLED, TUNNEL, ESP:NULL/HMAC_SHA1_96 installed 20s ago, rekeying in 25235s, expires in 31660s in c5492690, 0 bytes, 0 packets out c3112b2c, 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:c0:95:ba:0b:16:00:63:ec:29:4e:00:00:00:00:c0:95 Signature Algorithm: sha256WithRSAEncryption Issuer: DC = com, DC = scep, CN = scep-TELDATPKI-CA Validity Not Before: Mar 10 10:01:45 2025 GMT Not After : Mar 10 14:01:45 2025 GMT Subject: DC = scep, DC = com, CN = entity1 Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (2048 bit) Modulus: 00:ab:5f:d4:cc:d8:85:bb:40:2e:99:64:58:a2:0d: 67:48:bd:c4:ae:44:79:12:68:fd:c1:60:ff:ae:6b: e9:96:fa:b9:d6:71:c4:21:7e:6e:f7:9a:78:49:d2: e7:d7:44:1e:25:1a:ce:12:89:d8:5e:1f:0e:f4:8c: f0:52:dd:13:f2:9c:a9:3d:d4:5d:4b:62:32:55:5d: 2a:57:3f:6e:82:43:5e:1a:81:dd:63:6d:2f:d8:14: 72:bf:17:6b:2e:46:28:d9:df:bd:3e:c3:85:99:f7: 9f:55:b8:09:51:ce:52:74:71:75:b1:b1:7a:89:d9: 5a:c0:cc:55:83:0f:79:5d:9f:cd:82:a2:df:88:8d: 47:ca:90:6f:0b:f4:79:0a:c3:09:38:a7:bc:36:1f: c2:d6:03:0d:72:67:f0:c4:c0:ba:9c:f0:d8:43:c8: c8:d9:88:a7:23:24:6c:65:03:ed:d0:95:8a:bc:0c: 65:af:53:22:ba:87:8f:ab:d2:c7:a0:00:e8:4d:9d: 6c:7e:a1:2c:ec:77:74:cc:81:64:48:7b:fe:65:a0: 64:60:b9:91:94:7c:f8:8b:6f:3f:ef:97:b2:76:ca: 8b:25:29:76:04:6a:83:b8:5d:32:20:7a:0f:03:2e: 3e:5a:bc:19:fb:44:61:09:46:d7:4d:39:1a:68:8e: 23:37 Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Subject Key Identifier: 5C:B7:3F:A2:FA:E3:F7:F6:73:34:2F:0D:D6:CC:16:E6:90:95:F7:3F 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: a0:bf:44:f4:09:3a:66:0a:dd:d6:64:70:eb:73:59:0a:87:cc: f3:dd:13:d3:09:10:d4:a4:56:2d:fd:5e:eb:a0:3c:71:23:02: 83:5a:84:57:80:23:b3:84:00:67:2f:d0:a6:34:ae:ea:bd:14: 25:36:e1:b6:b4:27:d5:29:bf:a3:c5:d9:8a:72:27:9d:98:81: 2e:22:1c:df:85:27:25:cc:46:f9:16:50:bd:81:96:42:96:d2: b2:21:7e:d1:97:e0:43:77:d4:14:ea:bf:fa:54:1a:df:2a:26: e8:c5:94:39:35:3f:a7:c1:9b:35:0d:40:bc:fa:f1:ce:37:73: 0e:3a:f8:ab:2f:3a:2b:51:78:a7:39:d0:e6:01:14:b6:50:17: 8f:a7:d5:87:90:c0:36:e5:4d:a1:f4:b9:28:ff:bf:44:73:0b: 62:90:ef:e8:9d:7d:2b:9d:71:8f:c6:1d:a0:a8:bc:32:ba:af: 5b:e4:69:a2:e3:da:ac:e1:81:0c:dd:7c:6c:e5:18:d3:35:48: 0c:54:ef:fd:0a:83:42:f9:0c:f4:04:e0:da:43:2e:b1:25:06: 4b:97:3f:5e:b5:2d:ed:5d:53:1b:ee:a3:06:50:1f:45:1a:99: 91:b5:97:11:fa:07:6f:cc:9f:6f:1d:50:db:48:92:f1:d4:41: 19:db:e6:4d ---------------------------------------------------------------------- Certificate: Data: Version: 3 (0x2) Serial Number: 1c:00:00:c0:94:15:37:76:1d:be:a8:d7:b0:00:00:00:00:c0:94 Signature Algorithm: sha256WithRSAEncryption Issuer: DC = com, DC = scep, CN = scep-TELDATPKI-CA Validity Not Before: Mar 10 10:01:40 2025 GMT Not After : Mar 10 14:01:40 2025 GMT Subject: DC = scep, DC = com, CN = entity2 Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (2048 bit) Modulus: 00:c5:f6:69:b9:83:1f:58:36:61:8f:a8:f0:9c:5f: 6d:29:d1:1b:44:6a:cd:40:5d:cf:13:3f:8d:c5:33: e5:8c:f2:65:ca:15:76:c8:cd:c8:76:cc:61:97:70: a8:0f:8a:7e:e9:14:ff:63:3d:f7:e3:48:e3:c2:8e: 16:c6:4f:49:e1:66:e1:09:76:0a:57:df:2a:3a:a5: 37:dd:9a:36:31:a5:c8:97:39:ed:65:1c:fc:f5:46: 75:ed:f7:d3:ac:d0:9b:69:45:9a:d9:ec:db:55:de: 0a:82:7b:70:84:cf:4c:a9:ac:08:b1:4f:f9:62:fb: c8:55:0e:9b:2c:b7:00:79:30:cb:00:d2:44:a3:33: 75:6d:83:17:2b:5e:d0:7e:23:6d:94:d7:b7:5e:10: 13:de:15:26:c1:d6:d1:3d:96:03:3d:31:49:5f:fc: de:9c:ab:31:66:03:7c:2f:60:3f:7f:3d:3c:c8:be: 34:59:40:a0:cf:77:f4:ca:0e:6e:52:6d:3b:e0:29: f5:5d:72:1f:ed:96:f4:4e:20:0a:1d:ae:d0:cb:50: a9:e4:f8:42:46:e3:73:f2:47:3d:ed:a1:d6:55:cb: 3b:97:6d:75:cb:da:da:b0:86:d8:d8:35:89:43:06: 2f:e9:9a:56:6a:87:2c:33:2e:05:61:36:1a:8f:25: 2e:01 Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Subject Key Identifier: 7C:64:15:DF:66:4B:75:EB:FB:77:12:BC:F0:8B:F1:1E:80:32:EE:85 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: 8b:99:a2:74:5f:45:4e:bc:75:82:f1:ff:68:3e:f6:6c:a8:fe: 2a:79:7a:74:a2:b3:71:9a:df:72:7f:56:73:4f:e6:9c:65:59: 20:5e:e6:e9:cf:bf:0b:e1:f1:4e:ff:bf:df:93:2c:38:a9:f0: a6:43:84:d5:fd:49:7d:c4:08:d0:bd:b8:01:c5:ea:8b:de:7e: ff:9e:ca:c1:aa:47:56:e8:af:4d:f8:5d:b2:54:4c:2a:80:54: 9a:89:0f:d8:aa:a6:84:be:50:c9:e3:92:4e:26:43:ab:c2:58: 48:78:e8:76:1e:bf:48:59:8f:b6:22:07:4a:ec:27:0b:68:d8: 16:2d:c9:2b:f5:32:87:34:6f:e3:9c:54:5d:3f:c1:06:31:40: aa:d0:b2:a5:11:4d:f9:f9:49:b9:a6:e1:b7:5f:17:e6:a7:1c: f9:8c:60:c7:86:28:86:e4:18:b0:3e:73:64:d5:94:38:d7:7d: 71:32:f1:67:eb:cd:22:7a:91:39:1c:1e:8f:78:20:d3:64:50: 9f:3a:91:bc:8c:5a:2d:e5:8b:74:72:80:ef:d3:9b:1c:a4:ce: 39:6a:ec:14:27:c7:61:52:b6:6e:74:c6:6c:ff:b3:6e:df:34: 3e:f0:26:0c:90:d7:4b:28:51:cb:3b:33:5f:4e:8d:64:71:4b: c1:fa:ea:4f ---------------------------------------------------------------------- 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:c0:95:ba:0b:16:00:63:ec:29:4e:00:00:00:00:c0:95 Signature Algorithm: sha256WithRSAEncryption Issuer: DC = com, DC = scep, CN = scep-TELDATPKI-CA Validity Not Before: Mar 10 10:01:45 2025 GMT Not After : Mar 10 14:01:45 2025 GMT Subject: DC = scep, DC = com, CN = entity1 Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (2048 bit) Modulus: 00:ab:5f:d4:cc:d8:85:bb:40:2e:99:64:58:a2:0d: 67:48:bd:c4:ae:44:79:12:68:fd:c1:60:ff:ae:6b: e9:96:fa:b9:d6:71:c4:21:7e:6e:f7:9a:78:49:d2: e7:d7:44:1e:25:1a:ce:12:89:d8:5e:1f:0e:f4:8c: f0:52:dd:13:f2:9c:a9:3d:d4:5d:4b:62:32:55:5d: 2a:57:3f:6e:82:43:5e:1a:81:dd:63:6d:2f:d8:14: 72:bf:17:6b:2e:46:28:d9:df:bd:3e:c3:85:99:f7: 9f:55:b8:09:51:ce:52:74:71:75:b1:b1:7a:89:d9: 5a:c0:cc:55:83:0f:79:5d:9f:cd:82:a2:df:88:8d: 47:ca:90:6f:0b:f4:79:0a:c3:09:38:a7:bc:36:1f: c2:d6:03:0d:72:67:f0:c4:c0:ba:9c:f0:d8:43:c8: c8:d9:88:a7:23:24:6c:65:03:ed:d0:95:8a:bc:0c: 65:af:53:22:ba:87:8f:ab:d2:c7:a0:00:e8:4d:9d: 6c:7e:a1:2c:ec:77:74:cc:81:64:48:7b:fe:65:a0: 64:60:b9:91:94:7c:f8:8b:6f:3f:ef:97:b2:76:ca: 8b:25:29:76:04:6a:83:b8:5d:32:20:7a:0f:03:2e: 3e:5a:bc:19:fb:44:61:09:46:d7:4d:39:1a:68:8e: 23:37 Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Subject Key Identifier: 5C:B7:3F:A2:FA:E3:F7:F6:73:34:2F:0D:D6:CC:16:E6:90:95:F7:3F 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: a0:bf:44:f4:09:3a:66:0a:dd:d6:64:70:eb:73:59:0a:87:cc: f3:dd:13:d3:09:10:d4:a4:56:2d:fd:5e:eb:a0:3c:71:23:02: 83:5a:84:57:80:23:b3:84:00:67:2f:d0:a6:34:ae:ea:bd:14: 25:36:e1:b6:b4:27:d5:29:bf:a3:c5:d9:8a:72:27:9d:98:81: 2e:22:1c:df:85:27:25:cc:46:f9:16:50:bd:81:96:42:96:d2: b2:21:7e:d1:97:e0:43:77:d4:14:ea:bf:fa:54:1a:df:2a:26: e8:c5:94:39:35:3f:a7:c1:9b:35:0d:40:bc:fa:f1:ce:37:73: 0e:3a:f8:ab:2f:3a:2b:51:78:a7:39:d0:e6:01:14:b6:50:17: 8f:a7:d5:87:90:c0:36:e5:4d:a1:f4:b9:28:ff:bf:44:73:0b: 62:90:ef:e8:9d:7d:2b:9d:71:8f:c6:1d:a0:a8:bc:32:ba:af: 5b:e4:69:a2:e3:da:ac:e1:81:0c:dd:7c:6c:e5:18:d3:35:48: 0c:54:ef:fd:0a:83:42:f9:0c:f4:04:e0:da:43:2e:b1:25:06: 4b:97:3f:5e:b5:2d:ed:5d:53:1b:ee:a3:06:50:1f:45:1a:99: 91:b5:97:11:fa:07:6f:cc:9f:6f:1d:50:db:48:92:f1:d4:41: 19:db:e6:4d ---------------------------------------------------------------------- Certificate: Data: Version: 3 (0x2) Serial Number: 1c:00:00:c0:94:15:37:76:1d:be:a8:d7:b0:00:00:00:00:c0:94 Signature Algorithm: sha256WithRSAEncryption Issuer: DC = com, DC = scep, CN = scep-TELDATPKI-CA Validity Not Before: Mar 10 10:01:40 2025 GMT Not After : Mar 10 14:01:40 2025 GMT Subject: DC = scep, DC = com, CN = entity2 Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (2048 bit) Modulus: 00:c5:f6:69:b9:83:1f:58:36:61:8f:a8:f0:9c:5f: 6d:29:d1:1b:44:6a:cd:40:5d:cf:13:3f:8d:c5:33: e5:8c:f2:65:ca:15:76:c8:cd:c8:76:cc:61:97:70: a8:0f:8a:7e:e9:14:ff:63:3d:f7:e3:48:e3:c2:8e: 16:c6:4f:49:e1:66:e1:09:76:0a:57:df:2a:3a:a5: 37:dd:9a:36:31:a5:c8:97:39:ed:65:1c:fc:f5:46: 75:ed:f7:d3:ac:d0:9b:69:45:9a:d9:ec:db:55:de: 0a:82:7b:70:84:cf:4c:a9:ac:08:b1:4f:f9:62:fb: c8:55:0e:9b:2c:b7:00:79:30:cb:00:d2:44:a3:33: 75:6d:83:17:2b:5e:d0:7e:23:6d:94:d7:b7:5e:10: 13:de:15:26:c1:d6:d1:3d:96:03:3d:31:49:5f:fc: de:9c:ab:31:66:03:7c:2f:60:3f:7f:3d:3c:c8:be: 34:59:40:a0:cf:77:f4:ca:0e:6e:52:6d:3b:e0:29: f5:5d:72:1f:ed:96:f4:4e:20:0a:1d:ae:d0:cb:50: a9:e4:f8:42:46:e3:73:f2:47:3d:ed:a1:d6:55:cb: 3b:97:6d:75:cb:da:da:b0:86:d8:d8:35:89:43:06: 2f:e9:9a:56:6a:87:2c:33:2e:05:61:36:1a:8f:25: 2e:01 Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Subject Key Identifier: 7C:64:15:DF:66:4B:75:EB:FB:77:12:BC:F0:8B:F1:1E:80:32:EE:85 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: 8b:99:a2:74:5f:45:4e:bc:75:82:f1:ff:68:3e:f6:6c:a8:fe: 2a:79:7a:74:a2:b3:71:9a:df:72:7f:56:73:4f:e6:9c:65:59: 20:5e:e6:e9:cf:bf:0b:e1:f1:4e:ff:bf:df:93:2c:38:a9:f0: a6:43:84:d5:fd:49:7d:c4:08:d0:bd:b8:01:c5:ea:8b:de:7e: ff:9e:ca:c1:aa:47:56:e8:af:4d:f8:5d:b2:54:4c:2a:80:54: 9a:89:0f:d8:aa:a6:84:be:50:c9:e3:92:4e:26:43:ab:c2:58: 48:78:e8:76:1e:bf:48:59:8f:b6:22:07:4a:ec:27:0b:68:d8: 16:2d:c9:2b:f5:32:87:34:6f:e3:9c:54:5d:3f:c1:06:31:40: aa:d0:b2:a5:11:4d:f9:f9:49:b9:a6:e1:b7:5f:17:e6:a7:1c: f9:8c:60:c7:86:28:86:e4:18:b0:3e:73:64:d5:94:38:d7:7d: 71:32:f1:67:eb:cd:22:7a:91:39:1c:1e:8f:78:20:d3:64:50: 9f:3a:91:bc:8c:5a:2d:e5:8b:74:72:80:ef:d3:9b:1c:a4:ce: 39:6a:ec:14:27:c7:61:52:b6:6e:74:c6:6c:ff:b3:6e:df:34: 3e:f0:26:0c:90:d7:4b:28:51:cb:3b:33:5f:4e:8d:64:71:4b: c1:fa:ea:4f ---------------------------------------------------------------------- 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.428 ms --- 192.168.2.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.428/0.428/0.428/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.399 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.399/0.399/0.399/0.000 ms