summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKiran Kamineni <kiran.k.kamineni@intel.com>2018-05-15 08:52:23 -0700
committerKiran Kamineni <kiran.k.kamineni@intel.com>2018-05-15 08:52:29 -0700
commitd4b81c05a255a847bbf7f08caebe032492ad2ca5 (patch)
treedaab5deab646f3fa2bf06671933ecde97242689f
parent6c0bbee611e9e7ac0bdcfe5c95300de19f2b0b56 (diff)
fix for broken unit tests
Previous patch did not fix the tests Updating. Issue-ID: AAF-285 Change-Id: Ie0972651e6bdee77cb6563b2c8d9693a6db876d8 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
-rw-r--r--sms-service/src/sms/test/auth_test.cert59
-rw-r--r--sms-service/src/sms/test/auth_test_certificate.pem21
-rw-r--r--sms-service/src/sms/test/auth_test_key.pem28
3 files changed, 49 insertions, 59 deletions
diff --git a/sms-service/src/sms/test/auth_test.cert b/sms-service/src/sms/test/auth_test.cert
deleted file mode 100644
index e36d41b..0000000
--- a/sms-service/src/sms/test/auth_test.cert
+++ /dev/null
@@ -1,59 +0,0 @@
-Certificate:
- Data:
- Version: 3 (0x2)
- Serial Number: 2 (0x2)
- Signature Algorithm: ecdsa-with-SHA1
- Issuer: C=IN, ST=MH, L=Pune, O=COE, CN=Tech Mahindra Ltd
- Validity
- Not Before: Feb 5 10:20:17 2018 GMT
- Not After : Feb 5 10:20:17 2019 GMT
- Subject: CN=Tech Mahindra Ltd, ST=MH, C=IN, O=OTC
- Subject Public Key Info:
- Public Key Algorithm: id-ecPublicKey
- Public-Key: (384 bit)
- pub:
- 04:9b:00:db:bf:6d:ca:2f:61:63:5a:ea:7a:ad:63:
- 03:a4:10:52:fc:8c:90:87:3a:77:88:59:8e:6c:42:
- 68:ac:f8:04:18:06:14:fb:d6:08:21:28:8e:1a:73:
- a3:89:b6:83:17:37:ba:a7:84:9e:aa:5a:81:a2:e5:
- 22:9b:91:00:2f:7a:c9:fa:59:ca:4d:da:26:20:e3:
- a0:cb:72:7b:a6:ad:72:f5:73:50:36:f7:95:12:00:
- fb:2c:43:b2:55:48:2f
- ASN1 OID: secp384r1
- NIST CURVE: P-384
- X509v3 extensions:
- X509v3 Basic Constraints:
- CA:FALSE
- X509v3 Subject Key Identifier:
- 10:B9:8A:C9:4A:81:58:54:8E:E0:6A:74:21:01:A1:B6:48:4F:2F:CD
- X509v3 Authority Key Identifier:
- keyid:9B:14:EA:95:62:80:4C:CC:71:67:EA:9B:44:97:53:DF:A8:19:E3:13
-
- X509v3 Key Usage:
- Digital Signature, Key Encipherment
- X509v3 Extended Key Usage:
- TLS Web Server Authentication, TLS Web Client Authentication
- X509v3 Subject Alternative Name:
- IP Address:127.0.0.1
- Signature Algorithm: ecdsa-with-SHA1
- 30:65:02:30:0d:a4:a7:8c:56:5c:27:c9:25:17:11:03:aa:5d:
- 9c:90:27:34:3a:a7:db:4c:ee:7d:6e:b6:22:12:16:15:6b:5e:
- 3d:c1:54:46:8d:c2:26:d1:16:89:5c:9a:4a:a8:da:bd:02:31:
- 00:a0:ee:58:e4:00:7f:11:f7:65:5f:30:1b:d3:56:99:ce:0d:
- 22:b7:f1:6d:41:01:59:89:8d:4a:ff:4c:72:6e:09:21:4e:d1:
- 89:3f:91:63:14:a9:c0:b5:5e:7b:30:bf:7e
------BEGIN CERTIFICATE-----
-MIICTTCCAdSgAwIBAgIBAjAJBgcqhkjOPQQBMFMxCzAJBgNVBAYTAklOMQswCQYD
-VQQIDAJNSDENMAsGA1UEBwwEUHVuZTEMMAoGA1UECgwDQ09FMRowGAYDVQQDDBFU
-ZWNoIE1haGluZHJhIEx0ZDAeFw0xODAyMDUxMDIwMTdaFw0xOTAyMDUxMDIwMTda
-MEQxGjAYBgNVBAMMEVRlY2ggTWFoaW5kcmEgTHRkMQswCQYDVQQIDAJNSDELMAkG
-A1UEBhMCSU4xDDAKBgNVBAoMA09UQzB2MBAGByqGSM49AgEGBSuBBAAiA2IABJsA
-279tyi9hY1rqeq1jA6QQUvyMkIc6d4hZjmxCaKz4BBgGFPvWCCEojhpzo4m2gxc3
-uqeEnqpagaLlIpuRAC96yfpZyk3aJiDjoMtye6atcvVzUDb3lRIA+yxDslVIL6OB
-izCBiDAJBgNVHRMEAjAAMB0GA1UdDgQWBBQQuYrJSoFYVI7ganQhAaG2SE8vzTAf
-BgNVHSMEGDAWgBSbFOqVYoBMzHFn6ptEl1PfqBnjEzALBgNVHQ8EBAMCBaAwHQYD
-VR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMA8GA1UdEQQIMAaHBH8AAAEwCQYH
-KoZIzj0EAQNoADBlAjANpKeMVlwnySUXEQOqXZyQJzQ6p9tM7n1utiISFhVrXj3B
-VEaNwibRFolcmkqo2r0CMQCg7ljkAH8R92VfMBvTVpnODSK38W1BAVmJjUr/THJu
-CSFO0Yk/kWMUqcC1Xnswv34=
------END CERTIFICATE-----
diff --git a/sms-service/src/sms/test/auth_test_certificate.pem b/sms-service/src/sms/test/auth_test_certificate.pem
new file mode 100644
index 0000000..42e7749
--- /dev/null
+++ b/sms-service/src/sms/test/auth_test_certificate.pem
@@ -0,0 +1,21 @@
+-----BEGIN CERTIFICATE-----
+MIIDXTCCAkWgAwIBAgIJAKAHJi8eUs73MA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNV
+BAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5ldCBX
+aWRnaXRzIFB0eSBMdGQwHhcNMTgwNTE1MDQ0MDQwWhcNMTkwNTE1MDQ0MDQwWjBF
+MQswCQYDVQQGEwJBVTETMBEGA1UECAwKU29tZS1TdGF0ZTEhMB8GA1UECgwYSW50
+ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB
+CgKCAQEA5PHDk+RRFh5o3Xe2nZuLn0Vo+5BjnHp/ul2NNYSG00Slc8F86gW4xcNA
+wm6xC8tYCSangV2lFG3E8H2L7SCEVaM5VDV2GCOpOoMihc+2Qenk/YbHwuYenwjo
+OgTK4aCItqjcAJ2DB1KC7AxARxHBDu9Kif+M/pc49so+G9ObQuS8k2vmTTaRYkMK
+ZvbTJcWsc0vbNnPhxcG5PVj4unlaREM+yQDm18/glUkkBNnYKMHABRvPnBrDktTT
+BQWsqkbQTw7ZuLOrl9rCzVTstZX9wEXarrstIdQJj3KZjbFOp2opND8bjNIjcdVt
+iRFnP1nHQYr7EgRqcx/YMJZ+gmCy3wIDAQABo1AwTjAdBgNVHQ4EFgQU9qPNwwIu
+kZh41sJqFtnMC2blSYMwHwYDVR0jBBgwFoAU9qPNwwIukZh41sJqFtnMC2blSYMw
+DAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEA4+daLY1wE10IMPaOKurG
+QBvfYeO/rgNXGeg0TisTIKAfx/We9Hmwo/37Bd2Nk5gxfy/DIJ4lMbrzXjgWITlm
+XOrS5QfluwvaEcREtHFtPFa3NZqn2VzKNDFTR+rJj7I5o600NKdcPrGeQ1i/vny2
+K0g68ogw2jfufcuePvZTYGst8RclomPr7ZXxI24kIjcE1MbiViy68sQueTXBEr5s
+Th6RsvPfVnLxjR/m/V6VJl31nn4T6hbmKzXCHo/X7aC3I8Isui4bQGKgfAxyBkhE
+0T7tP+GgymiEKQ6qJ/1c4HFFSuFRUQjLnK7uJu9jM/HMKoLCPayx6birHZRIMF94
+pg==
+-----END CERTIFICATE-----
diff --git a/sms-service/src/sms/test/auth_test_key.pem b/sms-service/src/sms/test/auth_test_key.pem
new file mode 100644
index 0000000..5f01f57
--- /dev/null
+++ b/sms-service/src/sms/test/auth_test_key.pem
@@ -0,0 +1,28 @@
+-----BEGIN PRIVATE KEY-----
+MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQDk8cOT5FEWHmjd
+d7adm4ufRWj7kGOcen+6XY01hIbTRKVzwXzqBbjFw0DCbrELy1gJJqeBXaUUbcTw
+fYvtIIRVozlUNXYYI6k6gyKFz7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