fixed keyids in sql/ip-split-pools-db-restart scenario

This commit is contained in:
Andreas Steffen
2010-05-15 16:11:08 +02:00
parent 2948e3d0c2
commit c572f93ed7
3 changed files with 59 additions and 28 deletions
@@ -8,10 +8,15 @@ INSERT INTO identities (
INSERT INTO identities (
type, data
) VALUES ( /* keyid of 'C=CH, O=Linux strongSwan, CN=strongSwan Root CA' */
) VALUES ( /* subjkey of 'C=CH, O=Linux strongSwan, CN=strongSwan Root CA' */
11, X'5da7dd700651327ee7b66db3b5e5e060ea2e4def'
);
INSERT INTO identities (
type, data
) VALUES ( /* keyid of 'C=CH, O=Linux strongSwan, CN=strongSwan Root CA' */
11, X'ae096b87b44886d3b820978623dabd0eae22ebbc'
);
INSERT INTO identities (
type, data
) VALUES ( /* [email protected] */
@@ -20,7 +25,7 @@ INSERT INTO identities (
INSERT INTO identities (
type, data
) VALUES ( /* keyid of 'C=CH, O=Linux strongSwan, [email protected]' */
) VALUES ( /* subjkey of 'C=CH, O=Linux strongSwan, [email protected]' */
11, X'ee7f38daeea1b81a41777f78f2674be8439d8e0e'
);
@@ -59,13 +64,19 @@ INSERT INTO certificate_identity (
INSERT INTO certificate_identity (
certificate, identity
) VALUES (
2, 3
1, 3
);
INSERT INTO certificate_identity (
certificate, identity
) VALUES (
2, 4
2, 4
);
INSERT INTO certificate_identity (
certificate, identity
) VALUES (
2, 5
);
/* Private Keys */
@@ -79,13 +90,13 @@ INSERT INTO private_keys (
INSERT INTO private_key_identity (
private_key, identity
) VALUES (
1, 3
1, 4
);
INSERT INTO private_key_identity (
private_key, identity
) VALUES (
1, 4
1, 5
);
/* Configurations */
@@ -99,7 +110,7 @@ INSERT INTO ike_configs (
INSERT INTO peer_configs (
name, ike_cfg, local_id, remote_id, virtual
) VALUES (
'home', 1, 3, 5, '0.0.0.0'
'home', 1, 4, 6, '0.0.0.0'
);
INSERT INTO child_configs (