# X.509 auth tests
#
# CASE 23: Input from LIR Portal 
#          with certificate passed on the command line
#          We try to modify 3 person objects protected by mntners
#          with a password and different X509 key-cert objects
#          but each with the same certificate and fingerprint.
#          Correct certificate supplied.
#          Database has three key-cert objects with same fingerprint
#
# input from LIR Portal
# ./dbupdate -c ~/db/conf/rip.config -r --cert "certificate" -f test
#
#
#SUCCESS
#
# RESULT 23: The modify will succeed.
%
%
$DBUPDATE_FLAGS=-c $RIP_CONFIG -r -o 193.0.41.0 --cert "-----BEGIN CERTIFICATE-----
$DBUPDATE_FLAGS=MIID8zCCA1ygAwIBAgICAIIwDQYJKoZIhvcNAQEEBQAwcTELMAkGA1UEBhMCRVUx
$DBUPDATE_FLAGS=EDAOBgNVBAgTB0hvbGxhbmQxEDAOBgNVBAoTB25jY0RFTU8xHTAbBgNVBAMTFFNv
$DBUPDATE_FLAGS=ZnR3YXJlIFBLSSBUZXN0aW5nMR8wHQYJKoZIhvcNAQkBFhBzb2Z0aWVzQHJpcGUu
$DBUPDATE_FLAGS=bmV0MB4XDTAzMDkwODEwMjYxMloXDTA0MDkwNzEwMjYxMlowfTELMAkGA1UEBhMC
$DBUPDATE_FLAGS=TkwxETAPBgNVBAoTCFJJUEUgTkNDMRAwDgYDVQQLEwdNZW1iZXJzMRgwFgYDVQQD
$DBUPDATE_FLAGS=Ew91ay5idC50ZXN0LXVzZXIxLzAtBgkqhkiG9w0BCQEWIHRlc3QtdXNlckBsaW51
$DBUPDATE_FLAGS=eC50ZXN0bGFiLnJpcGUubmV0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC
$DBUPDATE_FLAGS=AQEArv3srxyl1QA3uS4dxdZbSsGrfBrMRjMb81Gnx0nqa6i+RziIf13lszB/EYy0
$DBUPDATE_FLAGS=PgLpQFdGLdhUQ52YsiGOUmMtnaWNHnEJrBUc8/fdnA6GVdfF8AEw1PTfJ6t2Cdc9
$DBUPDATE_FLAGS=2SwaF+5kCaUDwmlOgbM333IQmU03l3I1ILs32RpQyZ+df/ovHNrVzeLc2P59isac
$DBUPDATE_FLAGS=bfjM2S0SXPQzHjuVLH40eOgVuXA/5LAYs51eXqwtKszSxFhqekf+BAEcRDrXmIT4
$DBUPDATE_FLAGS=e3zfiZOsXKe0UfaEABgHUMrYjsUCJ8NTMg6XiVSNwQQmXCdUbRvK7zOCe2iCX15y
$DBUPDATE_FLAGS=9hNXxhY/q/IW54W5it7jGXq/7wIDAQABo4IBCDCCAQQwCQYDVR0TBAIwADARBglg
$DBUPDATE_FLAGS=hkgBhvhCAQEEBAMCBaAwCwYDVR0PBAQDAgXgMBoGCWCGSAGG+EIBDQQNFgtSSVBF
$DBUPDATE_FLAGS=IE5DQyBDQTAdBgNVHQ4EFgQUzdajNaRorkDTAW5O6Hpa3z9pP3AwgZsGA1UdIwSB
$DBUPDATE_FLAGS=kzCBkIAUHpLUfvaBVfxXVCcT0kh9NJeH7ouhdaRzMHExCzAJBgNVBAYTAkVVMRAw
$DBUPDATE_FLAGS=DgYDVQQIEwdIb2xsYW5kMRAwDgYDVQQKEwduY2NERU1PMR0wGwYDVQQDExRTb2Z0
$DBUPDATE_FLAGS=d2FyZSBQS0kgVGVzdGluZzEfMB0GCSqGSIb3DQEJARYQc29mdGllc0ByaXBlLm5l
$DBUPDATE_FLAGS=dIIBADANBgkqhkiG9w0BAQQFAAOBgQByg8L8RaiIz5k7n5jVwM/0oHSf48KRMBdn
$DBUPDATE_FLAGS=YdN2+eoEjVQbz48NtjbBTsOiUYj5AQWRHJrKtDQ+odbog0x7UsvhXjjBo/abJ6vI
$DBUPDATE_FLAGS=AupjnxP3KpSe73zmBUiMU8mvXLibPP1xuI2FPM70Y7fgeUehbmT7wdgqs7TEtYww
$DBUPDATE_FLAGS=PeUqjPPTZg==
$DBUPDATE_FLAGS=-----END CERTIFICATE-----" -f $TEST


person:       test person2
address:      Singel
phone:        +0123456789
nic-hdl:      TP2-DB-TEST
mnt-by:       TEST-MNT2
changed:      dbtest@ripe.net 20020101
changed:      dbtest@ripe.net 20040101
source:       DB-TEST


person:       test person3
address:      Singel
phone:        +0123456789
nic-hdl:      TP3-DB-TEST
mnt-by:       TEST-MNT3
changed:      dbtest@ripe.net 20020101
changed:      dbtest@ripe.net 20040101
source:       DB-TEST


person:       test person4
address:      Singel
phone:        +0123456789
nic-hdl:      TP4-DB-TEST
mnt-by:       TEST-MNT4
changed:      dbtest@ripe.net 20020101
changed:      dbtest@ripe.net 20040101
source:       DB-TEST




