From f73effbebd890d542f49dfc7e701a8114089ca40 Mon Sep 17 00:00:00 2001 From: Mikey Henderson Date: Mon, 12 Jun 2023 13:36:06 -0700 Subject: [PATCH] Merge 1.0.9 to main (#14) * Fixes for Gateway Version Upgrade * Change to Full Sync --- .../workflows/keyfactor-starter-workflow.yml | 2 +- .gitignore | 1 + .vs/digicertsym-cagateway/v17/.wsuo | Bin 108544 -> 109568 bytes .vs/slnx.sqlite | Bin 417792 -> 417792 bytes CHANGELOG.md | 2 + .../Client/DigiCertSymClient.cs | 9 ++ DigiCertSymCaProxy/Client/KeyfactorClient.cs | 9 ++ DigiCertSymCaProxy/Client/Models/Account.cs | 9 ++ .../Client/Models/Attributes.cs | 9 ++ .../Client/Models/Authentication.cs | 9 ++ .../Client/Models/CertificateDetails.cs | 9 ++ .../Client/Models/CertificateSearchRequest.cs | 9 ++ .../Models/CertificateSearchResponse.cs | 9 ++ .../Client/Models/CustomAttributes.cs | 9 ++ .../Client/Models/DigiCertRevokeReasons.cs | 9 ++ DigiCertSymCaProxy/Client/Models/DnsName.cs | 9 ++ .../Client/Models/DomainComponent.cs | 9 ++ .../Client/Models/EnrollmentRequest.cs | 9 ++ .../Client/Models/EnrollmentResponse.cs | 9 ++ .../Models/EnrollmentSuccessResponse.cs | 9 ++ DigiCertSymCaProxy/Client/Models/ErrorList.cs | 9 ++ .../Client/Models/ErrorResponse.cs | 9 ++ .../Client/Models/GetCertificateResponse.cs | 9 ++ DigiCertSymCaProxy/Client/Models/IpAddress.cs | 9 ++ .../Client/Models/KeyfactorCertificate.cs | 9 ++ .../Client/Models/OrganizationUnit.cs | 9 ++ DigiCertSymCaProxy/Client/Models/OtherName.cs | 9 ++ DigiCertSymCaProxy/Client/Models/Profile.cs | 9 ++ .../Client/Models/RegisteredId.cs | 9 ++ .../Client/Models/RevokeRequest.cs | 9 ++ .../Client/Models/RevokeResponse.cs | 9 ++ .../Client/Models/Rfc822Name.cs | 9 ++ DigiCertSymCaProxy/Client/Models/San.cs | 9 ++ DigiCertSymCaProxy/Client/Models/Seat.cs | 9 ++ .../Client/Models/StreetAddress.cs | 9 ++ .../Client/Models/UserPrincipalName.cs | 9 ++ DigiCertSymCaProxy/Client/Models/Validity.cs | 9 ++ DigiCertSymCaProxy/Constants.cs | 9 ++ DigiCertSymCaProxy/DigiCertSymProxy.cs | 123 +++++++++++------- DigiCertSymCaProxy/DigiCertSymProxy.csproj | 8 +- .../Exceptions/RetryCountExceededException.cs | 9 ++ DigiCertSymCaProxy/Interfaces/IAccount.cs | 9 ++ DigiCertSymCaProxy/Interfaces/IAttributes.cs | 9 ++ .../Interfaces/IAuthentication.cs | 9 ++ .../Interfaces/ICertificateDetails.cs | 9 ++ .../Interfaces/ICertificateSearchRequest.cs | 9 ++ .../Interfaces/ICertificateSearchResponse.cs | 9 ++ .../Interfaces/ICustomAttributes.cs | 9 ++ .../Interfaces/IDigiCertSymClient.cs | 9 ++ DigiCertSymCaProxy/Interfaces/IDnsName.cs | 9 ++ .../Interfaces/IDomainComponent.cs | 9 ++ .../Interfaces/IEnrollmentRequest.cs | 9 ++ .../Interfaces/IEnrollmentResponse.cs | 9 ++ .../Interfaces/IEnrollmentSuccessResponse.cs | 9 ++ DigiCertSymCaProxy/Interfaces/IErrorList.cs | 9 ++ .../Interfaces/IErrorResponse.cs | 9 ++ .../Interfaces/IGetCertificateResponse.cs | 9 ++ DigiCertSymCaProxy/Interfaces/IIpAddress.cs | 9 ++ .../Interfaces/IKeyfactorCertificate.cs | 9 ++ .../Interfaces/IKeyfactorClient.cs | 9 ++ .../Interfaces/IOrganizationUnit.cs | 9 ++ DigiCertSymCaProxy/Interfaces/IOtherName.cs | 9 ++ DigiCertSymCaProxy/Interfaces/IProfile.cs | 9 ++ .../Interfaces/IRegisteredId.cs | 9 ++ .../Interfaces/IRevokeRequest.cs | 9 ++ .../Interfaces/IRevokeResponse.cs | 9 ++ DigiCertSymCaProxy/Interfaces/IRfc822Name.cs | 9 ++ DigiCertSymCaProxy/Interfaces/ISan.cs | 9 ++ DigiCertSymCaProxy/Interfaces/ISeat.cs | 9 ++ .../Interfaces/IStreetAddress.cs | 9 ++ .../Interfaces/IUserPrincipalName.cs | 9 ++ DigiCertSymCaProxy/Interfaces/IValidity.cs | 9 ++ DigiCertSymCaProxy/RequestManager.cs | 9 ++ DigiCertSymCaProxy/app.config | 7 +- DigiCertSymCaProxy/packages.config | 6 +- README.md | 23 +++- integration-manifest.json | 3 +- readme_source.md | 4 +- 78 files changed, 702 insertions(+), 71 deletions(-) create mode 100644 CHANGELOG.md diff --git a/.github/workflows/keyfactor-starter-workflow.yml b/.github/workflows/keyfactor-starter-workflow.yml index b9abc34..ce3cfbe 100644 --- a/.github/workflows/keyfactor-starter-workflow.yml +++ b/.github/workflows/keyfactor-starter-workflow.yml @@ -23,7 +23,7 @@ jobs: with: release_version: ${{ needs.call-create-github-release-workflow.outputs.release_version }} release_url: ${{ needs.call-create-github-release-workflow.outputs.release_url }} - release_dir: digicertsym-cagateway\DigiCertSymCaProxy\bin\Release + release_dir: DigiCertSymCaProxy\bin\Release secrets: token: ${{ secrets.PRIVATE_PACKAGE_ACCESS }} diff --git a/.gitignore b/.gitignore index ac1ceda..1ef121c 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ ################################################################################ *.suo +*.vs \ No newline at end of file diff --git a/.vs/digicertsym-cagateway/v17/.wsuo b/.vs/digicertsym-cagateway/v17/.wsuo index 70b0b157e6464ec00cc7688d2d7232f022161879..89840c62599fc2369cfb95bb642d4413b89e39fe 100644 GIT binary patch delta 4330 zcmbtXd5jxZ8Qu4Nt?~VCJiY~)3na6XYBFV(>85p#xrA&@7uE=+Oa(z-($~= z&nE0r5Fna}>^?*gqG~CW0z%?2h(k~!6>+7glonBLPz&M@BtS|9iJ;}Z-7HNx6Zqtx z=Y7BLUElY<_vX#=_a>L0pFD%#I6ih+c8rZ}hD8kGA?z&7uZw_jmG_F1UE4g&SR z3qJQj?1lI%)NSzjEeKR^8+=Y(E+c&!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jk|k{cYa$GTYE0%cLS(&RAt7tbAyiOjx%V^r8^GXc0d35QRSUR4+Y53Q^5}d-%ea@AvRIhcmk18C~!^ zr~%Kz+BWbM`=`5zvd)d0V&om~oG}+8M=AV;B|1#w$~Du`J#XrLKDLq|c2>xNX#MH# zt%7;;QeP*j5n6cjNnbB+_42ai+chk+Vc^)#hydZRCPwg!ysEB~<_? zM_}*i&EA(sE>P~zXqjXz+ZHv_gQ`E^Kkg4!*6q$A=Pi%u(O4oHR}I|3+%1eiS$tVS zS)^1L5wBY?$!tw{Oo2(^oK3^awus!wuar8Q@H~)eatPQ|0N=wJOEhD~oVnv>Yt5*% z8@iS>RDaB<)8#N1f%YEtmX=U^)S--Oq&ISHCy(DW(rQW_Xdl>!lUs2l 0) - { - for (var i = 0; i < totalPages; i++) + if (result.certificateCount > 0) { - //If you need multiple pages make the request again - if (pageCounter > 0) + for (var i = 0; i < totalPages; i++) { - result = DigiCertSymClient.SubmitQueryOrderRequest(_requestManager, productModel, - pageCounter); - } + //If you need multiple pages make the request again + if (pageCounter > 0) + { + result = DigiCertSymClient.SubmitQueryOrderRequest(_requestManager, productModel, + pageCounter); + } - XmlSerializer x = new XmlSerializer(result.GetType()); - TextWriter tw = new StringWriter(); - x.Serialize(tw, result); - Logger.Trace($"Raw Search Cert Soap Response {tw}"); + XmlSerializer x = new XmlSerializer(result.GetType()); + TextWriter tw = new StringWriter(); + x.Serialize(tw, result); + Logger.Trace($"Raw Search Cert Soap Response {tw}"); - foreach (var currentResponseItem in result.certificateList) - { - try + foreach (var currentResponseItem in result.certificateList) { - Logger.Trace($"Took Certificate ID {currentResponseItem?.serialNumber} from Queue"); - - if (currentResponseItem != null) + try { - var certStatus = _requestManager.MapReturnStatus(currentResponseItem.status); - Logger.Trace($"Certificate Status {certStatus}"); + Logger.Trace( + $"Took Certificate ID {currentResponseItem?.serialNumber} from Queue"); - DateTime dateTime = new DateTime(1970, 1, 1, 0, 0, 0, 0, DateTimeKind.Utc); - var base64Cert = Convert.ToBase64String(currentResponseItem.certificate); - try + if (currentResponseItem != null) { - var currentCert = new System.Security.Cryptography.X509Certificates.X509Certificate2(Encoding.ASCII.GetBytes(base64Cert)); - blockingBuffer.Add(new CAConnectorCertificate + var certStatus = + _requestManager.MapReturnStatus(currentResponseItem.status); + Logger.Trace($"Certificate Status {certStatus}"); + + DateTime dateTime = new DateTime(1970, 1, 1, 0, 0, 0, 0, DateTimeKind.Utc); + var base64Cert = Convert.ToBase64String(currentResponseItem.certificate); + try { - CARequestID = + var currentCert = + new System.Security.Cryptography.X509Certificates.X509Certificate2( + Encoding.ASCII.GetBytes(base64Cert)); + blockingBuffer.Add(new CAConnectorCertificate + { + CARequestID = $"{currentResponseItem.serialNumber}", - Certificate = base64Cert, - SubmissionDate = dateTime.AddSeconds(currentResponseItem.validFrom) + Certificate = base64Cert, + SubmissionDate = dateTime.AddSeconds(currentResponseItem.validFrom) .ToLocalTime(), - Status = certStatus, - ProductID = $"{currentResponseItem.profileOID}", - RevocationReason=_requestManager.MapSoapRevokeReason(currentResponseItem.revokeReason) - }, cancelToken); - } - catch(Exception e) - { - Logger.Warn($"Invalid Certificate, skipping this one {LogHandler.FlattenException(e)}"); + Status = certStatus, + ProductID = $"{currentResponseItem.profileOID}", + RevocationReason = + _requestManager.MapSoapRevokeReason(currentResponseItem + .revokeReason) + }, cancelToken); + } + catch (Exception e) + { + Logger.Warn( + $"Invalid Certificate, skipping this one {LogHandler.FlattenException(e)}"); + } } } + catch (OperationCanceledException e) + { + Logger.Error($"Synchronize was canceled. {e.Message}"); + break; + } } - catch (OperationCanceledException e) - { - Logger.Error($"Synchronize was canceled. {e.Message}"); - break; - } + + pageCounter += pageSize; } - pageCounter += pageSize; } } } diff --git a/DigiCertSymCaProxy/DigiCertSymProxy.csproj b/DigiCertSymCaProxy/DigiCertSymProxy.csproj index a8cb8e2..1366ee8 100644 --- a/DigiCertSymCaProxy/DigiCertSymProxy.csproj +++ b/DigiCertSymCaProxy/DigiCertSymProxy.csproj @@ -31,8 +31,8 @@ 4 - - packages\BouncyCastle.1.8.5\lib\BouncyCastle.Crypto.dll + + packages\Portable.BouncyCastle.1.8.9\lib\net40\BouncyCastle.Crypto.dll packages\Keyfactor.AnyGateway.SDK.21.3.2\lib\net462\CAProxy.AnyGateway.Core.dll @@ -52,8 +52,8 @@ packages\Keyfactor.AnyGateway.SDK.21.3.2\lib\net462\CommonCAProxy.dll - - packages\CSS.Common.1.6.0\lib\net462\CSS.Common.dll + + packages\CSS.Common.1.7.0\lib\net462\CSS.Common.dll packages\CSS.PKI.2.13.0\lib\net462\CSS.PKI.dll diff --git a/DigiCertSymCaProxy/Exceptions/RetryCountExceededException.cs b/DigiCertSymCaProxy/Exceptions/RetryCountExceededException.cs index 86881cc..ba1dea9 100644 --- a/DigiCertSymCaProxy/Exceptions/RetryCountExceededException.cs +++ b/DigiCertSymCaProxy/Exceptions/RetryCountExceededException.cs @@ -1,3 +1,12 @@ +// Copyright 2023 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 +// thespecific language governing permissions and limitations under the +// License. using System; namespace Keyfactor.AnyGateway.DigiCertSym.Exceptions diff --git a/DigiCertSymCaProxy/Interfaces/IAccount.cs b/DigiCertSymCaProxy/Interfaces/IAccount.cs index 02a9d4b..1ee29c7 100644 --- a/DigiCertSymCaProxy/Interfaces/IAccount.cs +++ b/DigiCertSymCaProxy/Interfaces/IAccount.cs @@ -1,3 +1,12 @@ +// Copyright 2023 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 +// thespecific language governing permissions and limitations under the +// License. namespace Keyfactor.AnyGateway.DigiCertSym.Interfaces { public interface IAccount diff --git a/DigiCertSymCaProxy/Interfaces/IAttributes.cs b/DigiCertSymCaProxy/Interfaces/IAttributes.cs index f47ee4f..f6328ce 100644 --- a/DigiCertSymCaProxy/Interfaces/IAttributes.cs +++ b/DigiCertSymCaProxy/Interfaces/IAttributes.cs @@ -1,3 +1,12 @@ +// Copyright 2023 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 +// thespecific language governing permissions and limitations under the +// License. using System.Collections.Generic; using Keyfactor.AnyGateway.DigiCertSym.Client.Models; diff --git a/DigiCertSymCaProxy/Interfaces/IAuthentication.cs b/DigiCertSymCaProxy/Interfaces/IAuthentication.cs index 380e0ab..dd2c4ec 100644 --- a/DigiCertSymCaProxy/Interfaces/IAuthentication.cs +++ b/DigiCertSymCaProxy/Interfaces/IAuthentication.cs @@ -1,3 +1,12 @@ +// Copyright 2023 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 +// thespecific language governing permissions and limitations under the +// License. namespace Keyfactor.AnyGateway.DigiCertSym.Interfaces { public interface IAuthentication diff --git a/DigiCertSymCaProxy/Interfaces/ICertificateDetails.cs b/DigiCertSymCaProxy/Interfaces/ICertificateDetails.cs index 7bf9f59..a430fe2 100644 --- a/DigiCertSymCaProxy/Interfaces/ICertificateDetails.cs +++ b/DigiCertSymCaProxy/Interfaces/ICertificateDetails.cs @@ -1,3 +1,12 @@ +// Copyright 2023 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 +// thespecific language governing permissions and limitations under the +// License. using System; using Keyfactor.AnyGateway.DigiCertSym.Client.Models; diff --git a/DigiCertSymCaProxy/Interfaces/ICertificateSearchRequest.cs b/DigiCertSymCaProxy/Interfaces/ICertificateSearchRequest.cs index f77ddb0..63a9271 100644 --- a/DigiCertSymCaProxy/Interfaces/ICertificateSearchRequest.cs +++ b/DigiCertSymCaProxy/Interfaces/ICertificateSearchRequest.cs @@ -1,3 +1,12 @@ +// Copyright 2023 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 +// thespecific language governing permissions and limitations under the +// License. namespace Keyfactor.AnyGateway.DigiCertSym.Interfaces { public interface ICertificateSearchRequest diff --git a/DigiCertSymCaProxy/Interfaces/ICertificateSearchResponse.cs b/DigiCertSymCaProxy/Interfaces/ICertificateSearchResponse.cs index 0ddb7cb..1e17df3 100644 --- a/DigiCertSymCaProxy/Interfaces/ICertificateSearchResponse.cs +++ b/DigiCertSymCaProxy/Interfaces/ICertificateSearchResponse.cs @@ -1,3 +1,12 @@ +// Copyright 2023 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 +// thespecific language governing permissions and limitations under the +// License. using System.Collections.Generic; using Keyfactor.AnyGateway.DigiCertSym.Client.Models; diff --git a/DigiCertSymCaProxy/Interfaces/ICustomAttributes.cs b/DigiCertSymCaProxy/Interfaces/ICustomAttributes.cs index 241ad5f..7bede1f 100644 --- a/DigiCertSymCaProxy/Interfaces/ICustomAttributes.cs +++ b/DigiCertSymCaProxy/Interfaces/ICustomAttributes.cs @@ -1,3 +1,12 @@ +// Copyright 2023 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 +// thespecific language governing permissions and limitations under the +// License. namespace Keyfactor.AnyGateway.DigiCertSym.Interfaces { public interface ICustomAttributes diff --git a/DigiCertSymCaProxy/Interfaces/IDigiCertSymClient.cs b/DigiCertSymCaProxy/Interfaces/IDigiCertSymClient.cs index 61195bb..f98d34f 100644 --- a/DigiCertSymCaProxy/Interfaces/IDigiCertSymClient.cs +++ b/DigiCertSymCaProxy/Interfaces/IDigiCertSymClient.cs @@ -1,3 +1,12 @@ +// Copyright 2023 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 +// thespecific language governing permissions and limitations under the +// License. using System.Collections.Concurrent; using System.Threading; using System.Threading.Tasks; diff --git a/DigiCertSymCaProxy/Interfaces/IDnsName.cs b/DigiCertSymCaProxy/Interfaces/IDnsName.cs index a11ae7b..fabbaa7 100644 --- a/DigiCertSymCaProxy/Interfaces/IDnsName.cs +++ b/DigiCertSymCaProxy/Interfaces/IDnsName.cs @@ -1,3 +1,12 @@ +// Copyright 2023 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 +// thespecific language governing permissions and limitations under the +// License. namespace Keyfactor.AnyGateway.DigiCertSym.Interfaces { public interface IDnsName diff --git a/DigiCertSymCaProxy/Interfaces/IDomainComponent.cs b/DigiCertSymCaProxy/Interfaces/IDomainComponent.cs index 2a64590..5c79f9c 100644 --- a/DigiCertSymCaProxy/Interfaces/IDomainComponent.cs +++ b/DigiCertSymCaProxy/Interfaces/IDomainComponent.cs @@ -1,3 +1,12 @@ +// Copyright 2023 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 +// thespecific language governing permissions and limitations under the +// License. namespace Keyfactor.AnyGateway.DigiCertSym.Interfaces { public interface IDomainComponent diff --git a/DigiCertSymCaProxy/Interfaces/IEnrollmentRequest.cs b/DigiCertSymCaProxy/Interfaces/IEnrollmentRequest.cs index 169a3bb..2ec34a2 100644 --- a/DigiCertSymCaProxy/Interfaces/IEnrollmentRequest.cs +++ b/DigiCertSymCaProxy/Interfaces/IEnrollmentRequest.cs @@ -1,3 +1,12 @@ +// Copyright 2023 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 +// thespecific language governing permissions and limitations under the +// License. using Keyfactor.AnyGateway.DigiCertSym.Client.Models; namespace Keyfactor.AnyGateway.DigiCertSym.Interfaces diff --git a/DigiCertSymCaProxy/Interfaces/IEnrollmentResponse.cs b/DigiCertSymCaProxy/Interfaces/IEnrollmentResponse.cs index 15964e8..bfd9815 100644 --- a/DigiCertSymCaProxy/Interfaces/IEnrollmentResponse.cs +++ b/DigiCertSymCaProxy/Interfaces/IEnrollmentResponse.cs @@ -1,3 +1,12 @@ +// Copyright 2023 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 +// thespecific language governing permissions and limitations under the +// License. using Keyfactor.AnyGateway.DigiCertSym.Client.Models; namespace Keyfactor.AnyGateway.DigiCertSym.Interfaces diff --git a/DigiCertSymCaProxy/Interfaces/IEnrollmentSuccessResponse.cs b/DigiCertSymCaProxy/Interfaces/IEnrollmentSuccessResponse.cs index 7c4c6ce..f4d86a1 100644 --- a/DigiCertSymCaProxy/Interfaces/IEnrollmentSuccessResponse.cs +++ b/DigiCertSymCaProxy/Interfaces/IEnrollmentSuccessResponse.cs @@ -1,3 +1,12 @@ +// Copyright 2023 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 +// thespecific language governing permissions and limitations under the +// License. namespace Keyfactor.AnyGateway.DigiCertSym.Interfaces { public interface IEnrollmentSuccessResponse diff --git a/DigiCertSymCaProxy/Interfaces/IErrorList.cs b/DigiCertSymCaProxy/Interfaces/IErrorList.cs index af45be5..2556cab 100644 --- a/DigiCertSymCaProxy/Interfaces/IErrorList.cs +++ b/DigiCertSymCaProxy/Interfaces/IErrorList.cs @@ -1,3 +1,12 @@ +// Copyright 2023 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 +// thespecific language governing permissions and limitations under the +// License. using System.Collections.Generic; using Keyfactor.AnyGateway.DigiCertSym.Client.Models; diff --git a/DigiCertSymCaProxy/Interfaces/IErrorResponse.cs b/DigiCertSymCaProxy/Interfaces/IErrorResponse.cs index ecedfc2..175a78b 100644 --- a/DigiCertSymCaProxy/Interfaces/IErrorResponse.cs +++ b/DigiCertSymCaProxy/Interfaces/IErrorResponse.cs @@ -1,3 +1,12 @@ +// Copyright 2023 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 +// thespecific language governing permissions and limitations under the +// License. namespace Keyfactor.AnyGateway.DigiCertSym.Interfaces { public interface IErrorResponse diff --git a/DigiCertSymCaProxy/Interfaces/IGetCertificateResponse.cs b/DigiCertSymCaProxy/Interfaces/IGetCertificateResponse.cs index dada727..683bbbd 100644 --- a/DigiCertSymCaProxy/Interfaces/IGetCertificateResponse.cs +++ b/DigiCertSymCaProxy/Interfaces/IGetCertificateResponse.cs @@ -1,3 +1,12 @@ +// Copyright 2023 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 +// thespecific language governing permissions and limitations under the +// License. using Keyfactor.AnyGateway.DigiCertSym.Client.Models; namespace Keyfactor.AnyGateway.DigiCertSym.Interfaces diff --git a/DigiCertSymCaProxy/Interfaces/IIpAddress.cs b/DigiCertSymCaProxy/Interfaces/IIpAddress.cs index 6791044..7781505 100644 --- a/DigiCertSymCaProxy/Interfaces/IIpAddress.cs +++ b/DigiCertSymCaProxy/Interfaces/IIpAddress.cs @@ -1,3 +1,12 @@ +// Copyright 2023 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 +// thespecific language governing permissions and limitations under the +// License. namespace Keyfactor.AnyGateway.DigiCertSym.Interfaces { public interface IIpAddress diff --git a/DigiCertSymCaProxy/Interfaces/IKeyfactorCertificate.cs b/DigiCertSymCaProxy/Interfaces/IKeyfactorCertificate.cs index 6f9e8bc..b92b108 100644 --- a/DigiCertSymCaProxy/Interfaces/IKeyfactorCertificate.cs +++ b/DigiCertSymCaProxy/Interfaces/IKeyfactorCertificate.cs @@ -1,3 +1,12 @@ +// Copyright 2023 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 +// thespecific language governing permissions and limitations under the +// License. using System; namespace Keyfactor.AnyGateway.DigiCertSym.Interfaces diff --git a/DigiCertSymCaProxy/Interfaces/IKeyfactorClient.cs b/DigiCertSymCaProxy/Interfaces/IKeyfactorClient.cs index 2069d72..4cccef1 100644 --- a/DigiCertSymCaProxy/Interfaces/IKeyfactorClient.cs +++ b/DigiCertSymCaProxy/Interfaces/IKeyfactorClient.cs @@ -1,3 +1,12 @@ +// Copyright 2023 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 +// thespecific language governing permissions and limitations under the +// License. using System.Collections.Generic; using System.Threading.Tasks; using Keyfactor.AnyGateway.DigiCertSym.Client.Models; diff --git a/DigiCertSymCaProxy/Interfaces/IOrganizationUnit.cs b/DigiCertSymCaProxy/Interfaces/IOrganizationUnit.cs index c6d34cb..8551929 100644 --- a/DigiCertSymCaProxy/Interfaces/IOrganizationUnit.cs +++ b/DigiCertSymCaProxy/Interfaces/IOrganizationUnit.cs @@ -1,3 +1,12 @@ +// Copyright 2023 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 +// thespecific language governing permissions and limitations under the +// License. namespace Keyfactor.AnyGateway.DigiCertSym.Interfaces { public interface IOrganizationUnit diff --git a/DigiCertSymCaProxy/Interfaces/IOtherName.cs b/DigiCertSymCaProxy/Interfaces/IOtherName.cs index 1697b42..a5450f7 100644 --- a/DigiCertSymCaProxy/Interfaces/IOtherName.cs +++ b/DigiCertSymCaProxy/Interfaces/IOtherName.cs @@ -1,3 +1,12 @@ +// Copyright 2023 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 +// thespecific language governing permissions and limitations under the +// License. namespace Keyfactor.AnyGateway.DigiCertSym.Interfaces { public interface IOtherName diff --git a/DigiCertSymCaProxy/Interfaces/IProfile.cs b/DigiCertSymCaProxy/Interfaces/IProfile.cs index a2a15b3..b3f8e67 100644 --- a/DigiCertSymCaProxy/Interfaces/IProfile.cs +++ b/DigiCertSymCaProxy/Interfaces/IProfile.cs @@ -1,3 +1,12 @@ +// Copyright 2023 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 +// thespecific language governing permissions and limitations under the +// License. namespace Keyfactor.AnyGateway.DigiCertSym.Interfaces { public interface IProfile diff --git a/DigiCertSymCaProxy/Interfaces/IRegisteredId.cs b/DigiCertSymCaProxy/Interfaces/IRegisteredId.cs index 8ffe58f..578651a 100644 --- a/DigiCertSymCaProxy/Interfaces/IRegisteredId.cs +++ b/DigiCertSymCaProxy/Interfaces/IRegisteredId.cs @@ -1,3 +1,12 @@ +// Copyright 2023 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 +// thespecific language governing permissions and limitations under the +// License. namespace Keyfactor.AnyGateway.DigiCertSym.Interfaces { public interface IRegisteredId diff --git a/DigiCertSymCaProxy/Interfaces/IRevokeRequest.cs b/DigiCertSymCaProxy/Interfaces/IRevokeRequest.cs index 41c5cf6..25ad423 100644 --- a/DigiCertSymCaProxy/Interfaces/IRevokeRequest.cs +++ b/DigiCertSymCaProxy/Interfaces/IRevokeRequest.cs @@ -1,3 +1,12 @@ +// Copyright 2023 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 +// thespecific language governing permissions and limitations under the +// License. namespace Keyfactor.AnyGateway.DigiCertSym.Interfaces { public interface IRevokeRequest diff --git a/DigiCertSymCaProxy/Interfaces/IRevokeResponse.cs b/DigiCertSymCaProxy/Interfaces/IRevokeResponse.cs index 33ae6e4..2b70d63 100644 --- a/DigiCertSymCaProxy/Interfaces/IRevokeResponse.cs +++ b/DigiCertSymCaProxy/Interfaces/IRevokeResponse.cs @@ -1,3 +1,12 @@ +// Copyright 2023 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 +// thespecific language governing permissions and limitations under the +// License. using Keyfactor.AnyGateway.DigiCertSym.Client.Models; namespace Keyfactor.AnyGateway.DigiCertSym.Interfaces diff --git a/DigiCertSymCaProxy/Interfaces/IRfc822Name.cs b/DigiCertSymCaProxy/Interfaces/IRfc822Name.cs index 59d3a0b..a487c66 100644 --- a/DigiCertSymCaProxy/Interfaces/IRfc822Name.cs +++ b/DigiCertSymCaProxy/Interfaces/IRfc822Name.cs @@ -1,3 +1,12 @@ +// Copyright 2023 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 +// thespecific language governing permissions and limitations under the +// License. namespace Keyfactor.AnyGateway.DigiCertSym.Interfaces { public interface IRfc822Name diff --git a/DigiCertSymCaProxy/Interfaces/ISan.cs b/DigiCertSymCaProxy/Interfaces/ISan.cs index c278780..84f6dba 100644 --- a/DigiCertSymCaProxy/Interfaces/ISan.cs +++ b/DigiCertSymCaProxy/Interfaces/ISan.cs @@ -1,3 +1,12 @@ +// Copyright 2023 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 +// thespecific language governing permissions and limitations under the +// License. using System.Collections.Generic; using Keyfactor.AnyGateway.DigiCertSym.Client.Models; diff --git a/DigiCertSymCaProxy/Interfaces/ISeat.cs b/DigiCertSymCaProxy/Interfaces/ISeat.cs index a0509f4..e30c206 100644 --- a/DigiCertSymCaProxy/Interfaces/ISeat.cs +++ b/DigiCertSymCaProxy/Interfaces/ISeat.cs @@ -1,3 +1,12 @@ +// Copyright 2023 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 +// thespecific language governing permissions and limitations under the +// License. namespace Keyfactor.AnyGateway.DigiCertSym.Interfaces { public interface ISeat diff --git a/DigiCertSymCaProxy/Interfaces/IStreetAddress.cs b/DigiCertSymCaProxy/Interfaces/IStreetAddress.cs index 37f013b..9dc7c56 100644 --- a/DigiCertSymCaProxy/Interfaces/IStreetAddress.cs +++ b/DigiCertSymCaProxy/Interfaces/IStreetAddress.cs @@ -1,3 +1,12 @@ +// Copyright 2023 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 +// thespecific language governing permissions and limitations under the +// License. namespace Keyfactor.AnyGateway.DigiCertSym.Interfaces { public interface IStreetAddress diff --git a/DigiCertSymCaProxy/Interfaces/IUserPrincipalName.cs b/DigiCertSymCaProxy/Interfaces/IUserPrincipalName.cs index a8955f3..177dc7a 100644 --- a/DigiCertSymCaProxy/Interfaces/IUserPrincipalName.cs +++ b/DigiCertSymCaProxy/Interfaces/IUserPrincipalName.cs @@ -1,3 +1,12 @@ +// Copyright 2023 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 +// thespecific language governing permissions and limitations under the +// License. namespace Keyfactor.AnyGateway.DigiCertSym.Interfaces { public interface IUserPrincipalName diff --git a/DigiCertSymCaProxy/Interfaces/IValidity.cs b/DigiCertSymCaProxy/Interfaces/IValidity.cs index 8080c5c..d378be1 100644 --- a/DigiCertSymCaProxy/Interfaces/IValidity.cs +++ b/DigiCertSymCaProxy/Interfaces/IValidity.cs @@ -1,3 +1,12 @@ +// Copyright 2023 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 +// thespecific language governing permissions and limitations under the +// License. namespace Keyfactor.AnyGateway.DigiCertSym.Interfaces { public interface IValidity diff --git a/DigiCertSymCaProxy/RequestManager.cs b/DigiCertSymCaProxy/RequestManager.cs index 77e2248..c8db8a4 100644 --- a/DigiCertSymCaProxy/RequestManager.cs +++ b/DigiCertSymCaProxy/RequestManager.cs @@ -1,3 +1,12 @@ +// Copyright 2023 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 +// thespecific language governing permissions and limitations under the +// License. using System; using System.Collections.Generic; using System.IO; diff --git a/DigiCertSymCaProxy/app.config b/DigiCertSymCaProxy/app.config index 1cf1443..8083f3a 100644 --- a/DigiCertSymCaProxy/app.config +++ b/DigiCertSymCaProxy/app.config @@ -8,7 +8,7 @@ - + @@ -30,10 +30,7 @@ - + \ No newline at end of file diff --git a/DigiCertSymCaProxy/packages.config b/DigiCertSymCaProxy/packages.config index cbcca16..7c8907f 100644 --- a/DigiCertSymCaProxy/packages.config +++ b/DigiCertSymCaProxy/packages.config @@ -1,14 +1,14 @@  - - - + + + diff --git a/README.md b/README.md index 074eccb..3864bdb 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,8 @@ This gateway integration supports the Digicert MPKI platform. It handles Enrollment, Renewal, Revoke and inventory by multiple seat Ids. -#### Integration status: Pilot - Ready for use in test environments. Not for use in production. +#### Integration status: Production - Ready for use in production environments. + ## About the Keyfactor AnyGateway CA Connector @@ -12,6 +13,22 @@ This repository contains an AnyGateway CA Connector, which is a plugin to the Ke +--- + + + + + + +## Keyfactor AnyGateway Framework Supported + +This gateway was compiled against version 22.1.1 of the AnyGateway Framework. You will need at least this version of the AnyGateway Framework Installed. If you have a later AnyGateway Framework Installed you will probably need to add binding redirects in the CAProxyServer.exe.config file to make things work properly. + + + +--- + + # Getting Started ## Standard Gateway Installation To begin, you must have the CA Gateway Service 21.3.2 installed and operational before attempting to configure the DigiCertSym mPKI plugin. This integration was tested with Keyfactor 9.1.0.0. @@ -33,8 +50,6 @@ To install the gateway follow these instructions. %InstallLocation%\DatabaseManagementConsole.exe create -s [database server name] -d [database name] -u [sql user] -p [sql password] ``` - If you do **not** have rights to created the database then have the database created ahead of time by the support team and just populate the database - ## Populate commands below **Windows Authentication** @@ -91,7 +106,7 @@ the CA. Without the imported configuration, the service will fail to start. ### Binary Installation 1) Get the Latest Zip File from [Here](https://github.com/Keyfactor/digicertsym-cagateway/releases) -2) **Gateway Server** - Copy the DigiCertSymProxy.dll to the location where the Gateway Framework was installed (usually C:\Program Files\Keyfactor\Keyfactor AnyGateway) +2) **Gateway Server** - Copy the DigiCertSymProxy.dll and DigiCertSymProxy.dll.config to the location where the Gateway Framework was installed (usually C:\Program Files\Keyfactor\Keyfactor AnyGateway) ### Configuration Changes 1) **Gateway Server** - Edit the CAProxyServer.exe.config file and replace the line that says "NoOp" with the line below: diff --git a/integration-manifest.json b/integration-manifest.json index e4ef281..5a2a623 100644 --- a/integration-manifest.json +++ b/integration-manifest.json @@ -2,8 +2,9 @@ "$schema": "https://keyfactor.github.io/integration-manifest-schema.json", "integration_type": "ca-gateway", "name": "DigiCert mPKI AnyGateway", - "status": "pilot", + "status": "production", "update_catalog": false, "link_github": false, + "gateway_framework": "22.1.1", "description": "This gateway integration supports the Digicert MPKI platform. It handles Enrollment, Renewal, Revoke and inventory by multiple seat Ids." } diff --git a/readme_source.md b/readme_source.md index 7255053..8ade144 100644 --- a/readme_source.md +++ b/readme_source.md @@ -19,8 +19,6 @@ To install the gateway follow these instructions. %InstallLocation%\DatabaseManagementConsole.exe create -s [database server name] -d [database name] -u [sql user] -p [sql password] ``` - If you do **not** have rights to created the database then have the database created ahead of time by the support team and just populate the database - ## Populate commands below **Windows Authentication** @@ -77,7 +75,7 @@ the CA. Without the imported configuration, the service will fail to start. ### Binary Installation 1) Get the Latest Zip File from [Here](https://github.com/Keyfactor/digicertsym-cagateway/releases) -2) **Gateway Server** - Copy the DigiCertSymProxy.dll to the location where the Gateway Framework was installed (usually C:\Program Files\Keyfactor\Keyfactor AnyGateway) +2) **Gateway Server** - Copy the DigiCertSymProxy.dll and DigiCertSymProxy.dll.config to the location where the Gateway Framework was installed (usually C:\Program Files\Keyfactor\Keyfactor AnyGateway) ### Configuration Changes 1) **Gateway Server** - Edit the CAProxyServer.exe.config file and replace the line that says "NoOp" with the line below: