fixed keyids in sql/rw-psk-rsa-split scenario
This commit is contained in:
parent
4636f1579c
commit
ccfd54e68d
|
@ -8,10 +8,16 @@ 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 ( /* carol@strongswan.org */
|
||||
|
@ -44,6 +50,12 @@ INSERT INTO certificate_identity (
|
|||
1, 2
|
||||
);
|
||||
|
||||
INSERT INTO certificate_identity (
|
||||
certificate, identity
|
||||
) VALUES (
|
||||
1, 3
|
||||
);
|
||||
|
||||
/* Shared Secrets */
|
||||
|
||||
INSERT INTO shared_secrets (
|
||||
|
@ -55,13 +67,13 @@ INSERT INTO shared_secrets (
|
|||
INSERT INTO shared_secret_identity (
|
||||
shared_secret, identity
|
||||
) VALUES (
|
||||
1, 3
|
||||
1, 4
|
||||
);
|
||||
|
||||
INSERT INTO shared_secret_identity (
|
||||
shared_secret, identity
|
||||
) VALUES (
|
||||
1, 4
|
||||
1, 5
|
||||
);
|
||||
|
||||
/* Configurations */
|
||||
|
@ -75,7 +87,7 @@ INSERT INTO ike_configs (
|
|||
INSERT INTO peer_configs (
|
||||
name, ike_cfg, local_id, remote_id, auth_method
|
||||
) VALUES (
|
||||
'home', 1, 3, 4, 2
|
||||
'home', 1, 4, 5, 2
|
||||
);
|
||||
|
||||
INSERT INTO child_configs (
|
||||
|
|
|
@ -8,10 +8,16 @@ 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 ( /* dave@strongswan.org */
|
||||
|
@ -44,6 +50,12 @@ INSERT INTO certificate_identity (
|
|||
1, 2
|
||||
);
|
||||
|
||||
INSERT INTO certificate_identity (
|
||||
certificate, identity
|
||||
) VALUES (
|
||||
1, 3
|
||||
);
|
||||
|
||||
/* Shared Secrets */
|
||||
|
||||
INSERT INTO shared_secrets (
|
||||
|
@ -55,13 +67,13 @@ INSERT INTO shared_secrets (
|
|||
INSERT INTO shared_secret_identity (
|
||||
shared_secret, identity
|
||||
) VALUES (
|
||||
1, 3
|
||||
1, 4
|
||||
);
|
||||
|
||||
INSERT INTO shared_secret_identity (
|
||||
shared_secret, identity
|
||||
) VALUES (
|
||||
1, 4
|
||||
1, 5
|
||||
);
|
||||
|
||||
|
||||
|
@ -76,7 +88,7 @@ INSERT INTO ike_configs (
|
|||
INSERT INTO peer_configs (
|
||||
name, ike_cfg, local_id, remote_id, auth_method
|
||||
) VALUES (
|
||||
'home', 1, 3, 4, 2
|
||||
'home', 1, 4, 5, 2
|
||||
);
|
||||
|
||||
INSERT INTO child_configs (
|
||||
|
|
|
@ -8,10 +8,16 @@ 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 ( /* moon.strongswan.org */
|
||||
|
@ -20,7 +26,7 @@ INSERT INTO identities (
|
|||
|
||||
INSERT INTO identities (
|
||||
type, data
|
||||
) VALUES ( /* keyid of 'C=CH, O=Linux strongSwan, CN=moon.strongswan.org' */
|
||||
) VALUES ( /* subjkey of 'C=CH, O=Linux strongSwan, CN=moon.strongswan.org' */
|
||||
11, X'6a9c74d1f8897989f65a94e989f1fac3649d292e'
|
||||
);
|
||||
|
||||
|
@ -71,13 +77,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 */
|
||||
|
@ -91,13 +103,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
|
||||
);
|
||||
|
||||
/* Shared Secrets */
|
||||
|
@ -117,25 +129,25 @@ INSERT INTO shared_secrets (
|
|||
INSERT INTO shared_secret_identity (
|
||||
shared_secret, identity
|
||||
) VALUES (
|
||||
1, 3
|
||||
1, 4
|
||||
);
|
||||
|
||||
INSERT INTO shared_secret_identity (
|
||||
shared_secret, identity
|
||||
) VALUES (
|
||||
1, 6
|
||||
1, 7
|
||||
);
|
||||
|
||||
INSERT INTO shared_secret_identity (
|
||||
shared_secret, identity
|
||||
) VALUES (
|
||||
2, 3
|
||||
2, 4
|
||||
);
|
||||
|
||||
INSERT INTO shared_secret_identity (
|
||||
shared_secret, identity
|
||||
) VALUES (
|
||||
2, 7
|
||||
2, 8
|
||||
);
|
||||
|
||||
|
||||
|
@ -150,7 +162,7 @@ INSERT INTO ike_configs (
|
|||
INSERT INTO peer_configs (
|
||||
name, ike_cfg, local_id, remote_id
|
||||
) VALUES (
|
||||
'rw', 1, 3, 5
|
||||
'rw', 1, 4, 6
|
||||
);
|
||||
|
||||
INSERT INTO child_configs (
|
||||
|
|
Loading…
Reference in New Issue