Annotation of embedaddon/strongswan/testing/tests/sql/multi-level-ca/hosts/carol/etc/ipsec.d/data.sql.in, revision 1.1
1.1 ! misho 1: /* Identities */
! 2:
! 3: INSERT INTO identities (
! 4: type, data
! 5: ) VALUES ( /* C=CH, O=strongSwan Project, CN=strongSwan Root CA */
! 6: 9, X'3047310b3009060355040613024348311b3019060355040a13127374726f6e675377616e2050726f6a656374311b3019060355040313127374726f6e675377616e20526f6f74204341'
! 7: );
! 8:
! 9: INSERT INTO identities (
! 10: type, data
! 11: ) VALUES ( /* subjkey of 'C=CH, O=strongSwan Project, CN=strongSwan Root CA' */
! 12: 11, X'CA_SPK_HEX'
! 13: );
! 14:
! 15: INSERT INTO identities (
! 16: type, data
! 17: ) VALUES ( /* keyid of 'C=CH, O=strongSwan Project, CN=strongSwan Root CA' */
! 18: 11, X'CA_SPKI_HEX'
! 19: );
! 20:
! 21: INSERT INTO identities (
! 22: type, data
! 23: ) VALUES ( /* C=CH, O=strongSwan Project, OU=Research, CN=Research CA */
! 24: 9, X'3053310b3009060355040613024348311b3019060355040a13127374726f6e675377616e2050726f6a6563743111300f060355040b13085265736561726368311430120603550403130b5265736561726368204341'
! 25: );
! 26:
! 27: INSERT INTO identities (
! 28: type, data
! 29: ) VALUES ( /* subjkey of 'C=CH, O=strongSwan Project, OU=Research, CN=Research CA' */
! 30: 11, X'RESEARCH_SPK_HEX'
! 31: );
! 32:
! 33: INSERT INTO identities (
! 34: type, data
! 35: ) VALUES ( /* keyid of 'C=CH, O=strongSwan Project, OU=Research, CN=Research CA' */
! 36: 11, X'RESEARCH_SPKI_HEX'
! 37: );
! 38:
! 39: INSERT INTO identities (
! 40: type, data
! 41: ) VALUES ( /* carol@strongswan.org */
! 42: 3, X'6361726f6c407374726f6e677377616e2e6f7267'
! 43: );
! 44:
! 45: INSERT INTO identities (
! 46: type, data
! 47: ) VALUES ( /* subjkey of 'C=CH, O=strongSwan Project, OU=Research, CN=carol@strongswan.org' */
! 48: 11, X'CAROL_R_SPK_HEX'
! 49: );
! 50:
! 51: INSERT INTO identities (
! 52: type, data
! 53: ) VALUES ( /* moon.strongswan.org */
! 54: 2, X'6d6f6f6e2e7374726f6e677377616e2e6f7267'
! 55: );
! 56:
! 57: /* Certificates */
! 58:
! 59: INSERT INTO certificates (
! 60: type, keytype, data
! 61: ) VALUES ( /* C=CH, O=strongSwan Project, CN=strongSwan Root CA */
! 62: 1, 1, X'CA_CERT_HEX'
! 63: );
! 64:
! 65: INSERT INTO certificates (
! 66: type, keytype, data
! 67: ) VALUES ( /* C=CH, O=strongSwan Project, OU=Research, CN=Research CA */
! 68: 1, 1, X'RESEARCH_CERT_HEX'
! 69: );
! 70:
! 71: INSERT INTO certificates (
! 72: type, keytype, data
! 73: ) VALUES ( /* C=CH, O=strongSwan Project, OU=Research, CN=carol@strongswan.org */
! 74: 1, 1, X'CAROL_R_CERT_HEX'
! 75: );
! 76:
! 77: INSERT INTO certificate_identity (
! 78: certificate, identity
! 79: ) VALUES (
! 80: 1, 1
! 81: );
! 82:
! 83: INSERT INTO certificate_identity (
! 84: certificate, identity
! 85: ) VALUES (
! 86: 1, 2
! 87: );
! 88:
! 89: INSERT INTO certificate_identity (
! 90: certificate, identity
! 91: ) VALUES (
! 92: 1, 3
! 93: );
! 94:
! 95: INSERT INTO certificate_identity (
! 96: certificate, identity
! 97: ) VALUES (
! 98: 2, 4
! 99: );
! 100:
! 101: INSERT INTO certificate_identity (
! 102: certificate, identity
! 103: ) VALUES (
! 104: 2, 5
! 105: );
! 106:
! 107: INSERT INTO certificate_identity (
! 108: certificate, identity
! 109: ) VALUES (
! 110: 2, 6
! 111: );
! 112:
! 113: INSERT INTO certificate_identity (
! 114: certificate, identity
! 115: ) VALUES (
! 116: 3, 7
! 117: );
! 118:
! 119: INSERT INTO certificate_identity (
! 120: certificate, identity
! 121: ) VALUES (
! 122: 3, 8
! 123: );
! 124:
! 125: /* Private Keys */
! 126:
! 127: INSERT INTO private_keys (
! 128: type, data
! 129: ) VALUES ( /* key of 'C=CH, O=strongSwan Project, OU=Research, CN=carol@strongswan.org' */
! 130: 1, X'CAROL_R_KEY_HEX'
! 131: );
! 132:
! 133: INSERT INTO private_key_identity (
! 134: private_key, identity
! 135: ) VALUES (
! 136: 1, 7
! 137: );
! 138:
! 139: INSERT INTO private_key_identity (
! 140: private_key, identity
! 141: ) VALUES (
! 142: 1, 8
! 143: );
! 144:
! 145: /* Configurations */
! 146:
! 147: INSERT INTO ike_configs (
! 148: local, remote
! 149: ) VALUES (
! 150: 'PH_IP_CAROL', 'PH_IP_MOON'
! 151: );
! 152:
! 153: INSERT INTO peer_configs (
! 154: name, ike_cfg, local_id, remote_id
! 155: ) VALUES (
! 156: 'home', 1, 7, 9
! 157: );
! 158:
! 159: INSERT INTO child_configs (
! 160: name, updown
! 161: ) VALUES (
! 162: 'home', '/usr/local/libexec/ipsec/_updown iptables'
! 163: );
! 164:
! 165: INSERT INTO peer_config_child_config (
! 166: peer_cfg, child_cfg
! 167: ) VALUES (
! 168: 1, 1
! 169: );
! 170:
! 171: INSERT INTO traffic_selectors (
! 172: type, start_addr, end_addr
! 173: ) VALUES ( /* 10.1.0.0/16 */
! 174: 7, X'0a010000', X'0a01ffff'
! 175: );
! 176:
! 177: INSERT INTO traffic_selectors (
! 178: type
! 179: ) VALUES ( /* dynamic/32 */
! 180: 7
! 181: );
! 182:
! 183: INSERT INTO child_config_traffic_selector (
! 184: child_cfg, traffic_selector, kind
! 185: ) VALUES (
! 186: 1, 1, 1
! 187: );
! 188:
! 189: INSERT INTO child_config_traffic_selector (
! 190: child_cfg, traffic_selector, kind
! 191: ) VALUES (
! 192: 1, 2, 2
! 193: );
! 194:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>