-
Notifications
You must be signed in to change notification settings - Fork 0
Completed prototype development #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
0df7f5b
Implemented enrollment, added helper methods and API response handlers
joevanwanzeeleKF a13df0d
implemented cert retrieval methods on client.
joevanwanzeeleKF 3f4fe3c
added additional logging, implemented revoke on client
joevanwanzeeleKF d3edb38
implemented sync and revoke; completed initial functionality
joevanwanzeeleKF 8513944
added changelog and license headers
joevanwanzeeleKF 379b500
added manifest, disabled auth cert domain check for nexus auth cert
joevanwanzeeleKF a6a8859
Updated enrollment to include first available procname for enrollment…
joevanwanzeeleKF 976d0f6
updated request format for revocation
joevanwanzeeleKF 4fc46a3
cleanup
joevanwanzeeleKF e78dd82
documentation updates
joevanwanzeeleKF 23297b3
updated project settings for github build
joevanwanzeeleKF 14828d8
added keyfactor-bootstrap-workflow.yml
joevanwanzeeleKF f71e0aa
updated manifest
joevanwanzeeleKF c5b6d33
Merge branch 'initial_AB#64146' of https://github.com/Keyfactor/nexus…
joevanwanzeeleKF da3557d
added docsource folder
joevanwanzeeleKF 072b739
corrected the returned value on a revoke request
joevanwanzeeleKF 9457add
Update nexus-certificate-manager-caplugin/NexusCertManagerCAPlugin.cs
joevanwanzeeleKF 34f633a
Update docsource/configuration.md
joevanwanzeeleKF e3c0433
Update nexus-certificate-manager-caplugin/NexusCertManagerClient.cs
joevanwanzeeleKF a950dd9
Update nexus-certificate-manager-caplugin/models/Helpers.cs
joevanwanzeeleKF f7d5ca5
Update nexus-certificate-manager-caplugin/NexusCertManagerCAPlugin.cs
joevanwanzeeleKF 5c8db48
Update nexus-certificate-manager-caplugin/NexusCertManagerClient.cs
joevanwanzeeleKF 0f5334e
Update nexus-certificate-manager-caplugin/NexusCertManagerCAPlugin.cs
joevanwanzeeleKF 162d092
Update nexus-certificate-manager-caplugin/NexusCertManagerClient.cs
joevanwanzeeleKF 7a79a12
Update nexus-certificate-manager-caplugin/NexusCertManagerCAPlugin.cs
joevanwanzeeleKF abf0b2b
added check for partial sync
joevanwanzeeleKF 80a869c
added check for partial sync
joevanwanzeeleKF ad20419
Update nexus-certificate-manager-caplugin/NexusCertManagerCAPlugin.cs
joevanwanzeeleKF a6ad3c4
updating manifest for doctool build
joevanwanzeeleKF d7afff7
Merge branch 'initial_AB#64146' of https://github.com/Keyfactor/nexus…
joevanwanzeeleKF File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| name: Keyfactor Bootstrap Workflow | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| pull_request: | ||
| types: [opened, closed, synchronize, edited, reopened] | ||
| push: | ||
| create: | ||
| branches: | ||
| - 'release-*.*' | ||
|
|
||
| jobs: | ||
| call-starter-workflow: | ||
| uses: keyfactor/actions/.github/workflows/starter.yml@v3 | ||
| secrets: | ||
| token: ${{ secrets.V2BUILDTOKEN}} | ||
| APPROVE_README_PUSH: ${{ secrets.APPROVE_README_PUSH}} | ||
| gpg_key: ${{ secrets.KF_GPG_PRIVATE_KEY }} | ||
| gpg_pass: ${{ secrets.KF_GPG_PASSPHRASE }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| ### 1.0.0 | ||
| * initial release |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| ## Overview | ||
|
|
||
| The Nexus Certificate Manager AnyCA REST plugin extends the capabilities of the Nexus Certificate Manager product to Keyfactor Command via the Keyfactor AnyCA Gateway REST. The plugin represents a fully featured AnyCA REST Plugin with the following capabilies: | ||
| * Certificate Synchronization | ||
| * Certificate Enrollment | ||
| * Certificate Revocation | ||
|
|
||
| ## Requirements | ||
|
|
||
| - The host URL for the instance of Nexus Certificate Manager | ||
| - A certificate in the pfx format to use for authentication into Nexus Certificate Manager, located on the Gateway Host | ||
| - The passphrase for the pfx certificate | ||
|
|
||
| ## Gateway Registration | ||
|
|
||
| In order to enroll certificates the Keyfactor Command server must trust the CA chain. Once you identify your Root and/or Subordinate CA used by the Nexus Certificate Manager platform, make sure to download and import the certificate chain into the Command Server certificate store | ||
|
|
||
| ## CA Connection | ||
|
|
||
| The certificate used by the gateway for authenticating into the Nexus Certificate Manager will need to be copied to a location on the Gateway Host that is accessible by the gateway service. The Certificate Path | ||
|
|
||
| ## Certificate Template Creation Step | ||
|
|
||
| For this AnyCA Gateway, there is a single product type named "NexusCM". | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,37 @@ | ||||||
| { | ||||||
| "$schema": "https://keyfactor.github.io/v2/integration-manifest-schema.json", | ||||||
| "integration_type": "anyca-plugin", | ||||||
| "name": "Nexus Certificate Maanager AnyCA REST Gateway Plugin", | ||||||
|
||||||
| "name": "Nexus Certificate Maanager AnyCA REST Gateway Plugin", | |
| "name": "Nexus Certificate Manager AnyCA REST Gateway Plugin", |
Empty file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| | ||
| // Copyright 2025 Keyfactor | ||
| // Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. | ||
| // You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 | ||
| // Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, | ||
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions | ||
| // and limitations under the License. | ||
|
|
||
| namespace Keyfactor.Extensions.CAPlugin.NexusCertManager | ||
| { | ||
| public static class Constants | ||
| { | ||
| //names | ||
| public const string HOST = "Host"; | ||
| public const string AUTHCERTPATH = "AuthCertificatePath"; | ||
| public const string ENABLED = "Enabled"; | ||
| public const string AUTHCERTPASSWORD = "AuthCertPassword"; | ||
|
|
||
|
|
||
| //values | ||
| public const string APIPATH = "pgwy/api"; | ||
| public const string PRODUCTID = "NexusCM"; | ||
| public const string PKCS7MIMETYPE = "application/pkcs7-mime"; | ||
| public const string PEMCHAIN = "application/pem-certificate-chain"; | ||
|
|
||
| public const string MEDIATYPE_PKCS10 = "pkcs10"; | ||
| public const string MEDIATYPE_PKCS12 = "pkcs12"; | ||
| public const string MEDIATYPE_SMARTCARD = "smartcard"; | ||
| public const string MEDIATYPE_ATTRIBUTECERT = "attributecertificate"; | ||
| public const string MEDIATYPE_DATA = "data"; | ||
| } | ||
|
|
||
| public static class ApiEndpoints | ||
| { | ||
| public const string LISTCERTS = "/certificates"; //get | ||
| public static string DOWNLOADCERT(string certId) => $"/certificates/{certId}/download"; //get | ||
| public static string CERTDETAILS(string certId) => $"/certificates/{certId}/details"; //get | ||
|
|
||
| public const string REVOKE = "/certificates/revoke"; //post | ||
|
|
||
| public const string ENROLL = "/certificates/pkcs10"; //post | ||
|
|
||
| public const string LISTPROCEDURES = "/procedures"; | ||
| } | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spelling error in "capabilies" - should be "capabilities"