summaryrefslogtreecommitdiffstats
path: root/certService
AgeCommit message (Collapse)AuthorFilesLines
2022-09-20[OOM-CERT-SERVICE] Fix vulnerabilities for KohnAndreas Geissler4-7/+10
- update gson to 2.9.0 - update commons-io to 2.11.0 - update httpclient to 4.5.13 - update bcprov-jdk15on to 1.70 - left version of sonar-go-pluging at 1.1.1.2000 - fix the implementation in respect to the update - include py3.8 fix (https://gerrit.onap.org/r/c/oom/platform/cert-service/+/130574) Issue-ID: OOM-2985 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I0d6b775c3f09b283900981c49db4abaf80d33b11
2022-05-18[OOM-CERT-SERVICE] Fix expired certificates in cert-serviceTomasz Wrobel3-59/+59
Issue-ID: OOM-2953 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I176a475ad1af5c18a667cd18ac23e95cfe5b0138
2022-01-10[OOM-CERT-SERVICE]Fix Apache log4j2 vulnerability2.5.0Tomasz Wrobel2-3/+61
- Top up spring-boot to 2.5.8 - Top up Apache log4j2 to 2.17.1 - Top up spring-boot-starter-log4j2 to 2.6.2 - Add miising validator bean Issue-ID: OOM-2903 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I816c59e39344bb1fcc2833bcbd58af7fc1c30d78
2021-12-23Top up project version to 2.5.0Tomasz Wrobel1-2/+2
Issue-ID: OOM-2903 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I99e55519d8ffcebb797763bdef3d8a8c7ec5fd7a
2021-07-19Merge "[OOM-CERT-SERVICE] Add CertificateDecriptionException handler"Bogumil Zebek2-0/+26
2021-07-19Merge "[OOM-CERT-SERVICE] Refactor CmpResponseValidationHelper"Bogumil Zebek2-90/+57
2021-07-19[OOM-CERT-SERVICE] Update OpenAPIPiotr Marcinkiewicz2-4/+24
- Update OpenAPI after introduction certificate update endpoint Issue-ID: OOM-2753 Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> Change-Id: I16117a9dc9f854ba04b39ca1133c19d052e8f7db
2021-07-19[OOM-CERT-SERVICE] Add CertificateDecriptionException handlerPiotr Marcinkiewicz2-0/+26
Issue-ID: OOM-2753 Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> Change-Id: If4f705b11cdaf1c98f49875b40eb970563d4c3dd
2021-07-15[OOM-CERT-SERVICE] Refactor CmpResponseValidationHelperPiotr Marcinkiewicz2-90/+57
- move to validation package - adjust methods modifiers - remove duplicated code (getProtectedBytes) Issue-ID: OOM-2753 Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> Change-Id: I2dd977ac136e2d1f99338f2c92b36b19651426df
2021-07-15[OOM-CERT-SERVICE] Improve loggingJoanna Jeremicz6-23/+27
Issue-ID: OOM-2753 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: If61f56cf0a54cc0084481613ff984ae01655c942
2021-07-15Merge "[OOM-CERT-SERVICE] Refactor CertService API code"Pawel Baniewski18-174/+276
2021-07-15Merge "[OOM-CERT-SERVICE] Fix sonar and checkstyle issues, code cleanup"Pawel Baniewski14-52/+56
2021-07-14[OOM-CERT-SERVICE] Remove CaMode from Cmpv2Server configurationRemigiusz Janeczek9-83/+12
Issue-ID: OOM-2753 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I10662551a315a0b38b1213513d07ab2a4ccf5326
2021-07-13[OOM-CERT-SERVICE] Refactor CertService API codePiotr Marcinkiewicz18-176/+277
- move conversion StringBase64 to PrivateKey to separate class - move protection algorithm classes to separate package - adjust modifiers and test to above changes Issue-ID: OOM-2753 Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> Change-Id: Ifafa38162acfcd59d5177dbc478a6209e97a18e3
2021-07-13[OOM-CERT-SERVICE] Fix sonar and checkstyle issues, code cleanupRemigiusz Janeczek14-52/+56
Issue-ID: OOM-2753 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Id88b6b2bceba7258745e4ce999dd375fb9ce438f
2021-07-09[OOM-CERT-SERVICE] Add Unit test for private key in pkcs1 formatTomasz Wrobel2-8/+58
Issue-ID: OOM-2753 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I91000b223c30eae1cd9f4d48be9e8197e239e1d2
2021-07-08[OOM-CERT-SERVICE] Code refactorJoanna Jeremicz32-501/+543
- Rename methods names to more descriptive ones - Group classes in packages - Simplify certificate model usage in KUR (use BouncyCastle object) Issue-ID: OOM-2753 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: I0507752b8d74a71ef27545648c2045f2033a330a
2021-07-06[OOM-CERT-SERVICE] Add Certification Request functionalityJoanna Jeremicz8-22/+124
Issue-ID: OOM-2753 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: Id8702dd45254f0e82d9b71e5e69372569e523838
2021-07-05[OOM-CERT-SERVICE] Add Key Update Request functionalityTomasz Wrobel13-38/+487
Issue-ID: OOM-2753 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: Icecef30b830c38606e17fbc2c502208543d048d2
2021-07-01Merge "[OOM-CERT-SERVICE] Add logic for KUR/CR detection"Bogumil Zebek23-135/+1246
2021-07-01Merge "[OOM-CERT-SERVICE] Add handling cmp response when PBM value is missing."Bogumil Zebek2-20/+106
2021-07-01[OOM-CERT-SERVICE] Add logic for KUR/CR detectionRemigiusz Janeczek23-135/+1246
Issue-ID: OOM-2753 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I571ad3914a870dde83929cb6121c2c63a5df3ae4
2021-06-30[OOM-CERT-SERVICE] Add handling cmp response when PBM value is missing.Tomasz Wrobel2-22/+106
Issue-ID: OOM-2753 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I38de28c994b5c83f936b3b5ea47d024a96f4733e
2021-06-30[OOM-CERT-SERVICE] Add curl requests to MakefileRemigiusz Janeczek1-0/+3
Increase max header size (default was too low for update requests) Issue-ID: OOM-2753 Change-Id: I3614d8d34ed18ae52cec8fb4f9349e170c2ac3af Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com>
2021-06-29Merge "[OOM-CERT-SERVICE] Add update endpoint"Bogumil Zebek4-7/+195
2021-06-29[OOM-CERT-SERVICE] Add update endpointPiotr Marcinkiewicz4-7/+195
- Add endpoint with old cert and old PK parameters for KUR/CR requests Issue-ID: OOM-2753 Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> Change-Id: I094ce1a39a11bbb94f94e0b13ca7ff71eb99dd30
2021-06-28[OOM-CERT-SERVICE] Implement signature PKIMessage protectionPiotr Marcinkiewicz11-90/+611
- Add signature protection - Refactor password-based protection code - Add JUnit tests Issue-ID: OOM-2753 Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> Change-Id: I398568a35e52a816c32646c8915db5c287ede401
2021-06-18Merge "Fix sonar issues"Pawel Baniewski8-24/+23
2021-06-10[OOM-CERT-SERVICE] Deprecate certServiceClient - update docsPiotr Marcinkiewicz2-4/+4
- Remove certServiceClient description from docs - Move descrption of CMPv2 provider to "How to use functionality" - Update description of getting certs for CertService in OOM - Update certService version to 2.4.0 Issue-ID: OOM-2744 Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> Change-Id: I283755b8fbd579646f979c88ea3022266855c4dc
2021-06-10Fix sonar issuesRemigiusz Janeczek8-24/+23
Issue-ID: OOM-2764 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Iab71cbcac1982207e6f29b4b046280ad27143e03
2021-01-27[OOM-CERT-SERVICE] Fix KeyUsage extention sent to CMPv2 server2.3.3Piotr Marcinkiewicz2-6/+87
- fix setting key usage to digitalSignature & keyEncipherment & nonRepudiation - set extended key usage to clientAuth & serverAuth Issue-ID: OOM-2658 Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> Change-Id: I5c00f622c3d117a63e4f48a3d2a90fd48cce3d0e
2021-01-19[CMPV2] Fix NPE & enhance error messagesJan Malkiewicz8-96/+206
Fix NPE. Include error messages returned by CMP server in API response. Issue-ID: OOM-2657 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: I6ec46b14ba04b5be10de5994236efd8fc14c5d2e
2020-12-18[OOM-CERT-SERVICE] Align implementation with RFC4210Piotr Marcinkiewicz4-5/+13
- change MAC algorithm - limit iterations to random value from 1000-2000 range - correct caName validation to allow URL safe characters Issue-ID: OOM-2656 Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> Change-Id: I2c320607e7a02996cd249f45ac224e3f3a8aa3c9
2020-12-02[OOM CERT-SERVICE-CLIENT] Fix null pointer when sans empty2.3.1Remigiusz Janeczek2-3/+3
Issue-ID: OOM-2632 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I5e05eb2923b96313cb1d37eb844862289d6acae1
2020-11-20[OOM CERT-SERVICE-API] Add support for URI, IP, E-mail in SANsTomasz Wrobel8-150/+145
Issue-ID: OOM-2632 Change-Id: I903c31ebe05521e281753cb847001ba99275f758 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
2020-11-18[CLIENT] Change certService client to use comma as SANS delimiterRemigiusz Janeczek2-3/+3
Issue-ID: OOM-2632 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I12a39cd514261a555081addb333ef1a99a481424
2020-11-12[OOM-K8S-CERT-EXTERNAL-PROVIDER] Version properties 2.1.0 -> 2.2.02.2.0Jan Malkiewicz1-1/+1
Issue-ID: OOM-2559 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: Ib04e7f081c06e973b7489bb0e1bf26d038a40241
2020-11-10[OOM-K8S-CERT-EXTERNAL-PROVIDER] Update version 2.1.1 -> 2.2.0Jan Malkiewicz1-2/+2
Issue-ID: OOM-2559 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: Ia2bcf542daa863ef41022e016382b4b96bbbc971
2020-10-08[OOM-CPMv2] Move LICENSE.txt to root directoryTomasz Wrobel1-38/+0
Issue-ID: OOM-2559 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I79f6bb83ee120bd30384e64cc850e54bf8114ce9
2020-09-24[OOM-CMPv2] Update version to 2.1.1Jan Malkiewicz1-2/+2
Issue-ID: DCAEGEN2-2253 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: I16152b58efe46c9fe80d2fb2e3dc88d5eb056cfa
2020-09-23[OOM-CMPv2] Update version to 2.1.0Jan Malkiewicz1-2/+2
Issue-ID: DCAEGEN2-2253 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: I112f84ec3265df105ed3a03e79bb17ac53e641c2
2020-09-17Merge "[OOM-CPMv2] Fix sonar issue"Bogumil Zebek1-5/+3
2020-09-17[OOM-CPMv2] Fix sonar issuetkogut1-1/+1
Remove unnecessary 'public' modifier Issue-ID: OOM-2526 Signed-off-by: tkogut <tomasz.kogut@nokia.com> Change-Id: I35146e7f669ea1dbe3610eae6b4641e48d75840c
2020-09-17[OOM-CPMv2] Fix sonar issuetkogut1-5/+3
Remove unnecessary 'public' modifiers Issue-ID: OOM-2526 Signed-off-by: tkogut <tomasz.kogut@nokia.com> Change-Id: Id1f25aeb06a602fae40e4d103fdb4654bc9fec7d
2020-09-03Update version from 1.2.0 to 2.0.0Pawel1-2/+2
Issue-ID: OOM-2526 Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com> Change-Id: If7e4f9258914384a430fe6475e3bb585b202722d
2020-08-10Update documentationPawel1-1/+1
Issue-ID: OOM-2526 Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com> Change-Id: I00475dea0c2d97c11e68b55aae29026cd2c84829
2020-08-05Removing AAF references from Cert-Service in OOM repo.baniewsk84-591/+278
Certificates regenerated External files (from legacy AAF) removed Still left: * Sonar link, * Link to documentation, * Names of K8s resources in RTD documentation, * Link to CSITs Issue-ID: OOM-2526 Signed-off-by: Pawel Baniewski <pawel.baniewski@nokia.com> Change-Id: I675f7485160b9b8e46e9ea573550e62ed28ca607
2020-07-13Add subfolders creationkjaniak2-3/+3
Added new not existing subfolders creation in output path to allow CMPv2 integration. Top up version to 1.2.0 Issue-ID: DCAEGEN2-2252 Change-Id: I59f8dfa7fddc5eb3a3fdd80ce18eb3e2272e1bfb Signed-off-by: kjaniak <kornel.janiak@nokia.com>
2020-06-26Add configuration for docker latest tag in .pomTomasz Wrobel1-1/+1
Issue-ID: AAF-1152 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: Ic1db70b08e3595efa806a3ceb4bdac089f3c1acd
2020-06-18Top up of certServiceClient versionkjaniak2-4/+4
Version switched to 1.1.0. Issue-ID: AAF-1152 Change-Id: I15e930d92ac18a1dcc9a479d7c2b59392616262b Signed-off-by: kjaniak <kornel.janiak@nokia.com>