aboutsummaryrefslogtreecommitdiffstats
path: root/certService
AgeCommit message (Collapse)AuthorFilesLines
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-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>
2020-05-22Upgrade version to 1.0.2edyta2-3/+3
Issue-ID: AAF-1091 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: I679ae099357aa9fd27539ae852d1af032bbc3ee8
2020-04-16Set a new versionBogumil Zebek2-3/+3
Configure project to next release Issue-ID: AAF-1083 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com> Change-Id: Ie4f00fef951c90ee314cd767581101dc3a6bb9bd
2020-04-16Formated offered apis yamledyta1-162/+0
Issue-ID: AAF-1091 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: I5a103ef53b62c6dec849ff51cc871df26a7922c2
2020-04-08Remove helm charts from CertServiceawudzins14-244/+0
Issue-ID: AAF-1084 Signed-off-by: Adam Wudzinski <adam.wudzinski@nokia.com> Change-Id: I69c7ee825ef6288404b327c4657d4bf9c7fd3344
2020-04-03Switch client and server to communicate over TLSawudzins12-10/+135
Issue-ID: AAF-1084 Signed-off-by: Adam Wudziński <adam.wudzinski@nokia.com> Change-Id: I7f11b27c7dcdf4fc3eba2d5e64b6dc775c80dd74
2020-04-02UpdateSwagger annotations and OpenAPI.yamlBartosz Gardziejewski5-67/+75
Issue-ID: AAF-1107 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I8b5981385c70a2f6c2521be500e16faee211622b
2020-04-01Merge "Fix sonar issue CertificationModelFactory"Bogumil Zebek1-1/+0
2020-03-31Fix sonar issue CertificationControlleredyta1-2/+1
Issue-ID: AAF-1118 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: Ib902b1d44abb1cf0741a10f73742014b5185d7b8
2020-03-31Fix sonar issue CertificationModelFactoryedyta1-1/+0
Issue-ID: AAF-1118 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: Id1db506a107d2a3ebaf9b549902b66312002a9dc
2020-03-31Fix sonar issueedyta1-1/+1
Issue-ID: AAF-1118 Signed-off-by: edyta <edyta.krukowska@nokia.com> Change-Id: I70590b305264ac5084cbf51f954db22da675f746
2020-03-27Merge "Refactor CmpResponseHelper to support intermediate certificate"Paweł Baniewski8-185/+800
2020-03-27Refactor CmpResponseHelper to support intermediate certificateBartosz Gardziejewski8-185/+800
Issue-ID: AAF-1107 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: Ia2e2f9ba1fbcf0482121ffb5f451c408774481ba
2020-03-26DocumentationBogumil Zebek1-2/+2
Issue-ID: AAF-1091 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com> Change-Id: I59df0545c4dd5adfde32c83988f89cd2d0c4676b
2020-03-24Add validation for uniqueness of CA namesMichal Banka5-19/+65
Signed-off-by: Michal Banka <michal.banka@nokia.com> Change-Id: Icfa9ee0f78d360a4f640904bb9077a10f15497ed Issue-ID: AAF-1107