diff options
author | Vedangi Mittal <vedangimittal@vedangis-mbp.in.ibm.com> | 2024-04-23 11:43:23 +0300 |
---|---|---|
committer | Gunnar Mills <gunnar@gmills.xyz> | 2024-05-08 22:21:44 +0300 |
commit | dfba4e542e816712d3857e32aa52e9a930c9e889 (patch) | |
tree | e36097740a78c7f05799ed3ffd0050ef2d86d3ce | |
parent | 2b33526c41c23217365e8eb0523d182bcdee622a (diff) | |
download | webui-vue-dfba4e542e816712d3857e32aa52e9a930c9e889.tar.xz |
Removed Challenge password option from Generate CSR panel
- Unable to generate Certificate Signing Request (CSR) when filling
optional field-Challenge password values on Certificate page.
- Hence, removed the Challenge password option from the Generate
CSR panel.
Change-Id: I862f024de84f34738be5e5cd22701b63c2309152
Signed-off-by: Vedangi Mittal <vedangimittal3004@gmail.com>
-rw-r--r-- | src/store/modules/SecurityAndAccess/CertificatesStore.js | 2 | ||||
-rw-r--r-- | src/views/SecurityAndAccess/Certificates/ModalGenerateCsr.vue | 22 |
2 files changed, 2 insertions, 22 deletions
diff --git a/src/store/modules/SecurityAndAccess/CertificatesStore.js b/src/store/modules/SecurityAndAccess/CertificatesStore.js index 3583d7f1..666f5fd5 100644 --- a/src/store/modules/SecurityAndAccess/CertificatesStore.js +++ b/src/store/modules/SecurityAndAccess/CertificatesStore.js @@ -166,7 +166,6 @@ const CertificatesStore = { keyPairAlgorithm, keyBitLength, keyCurveId, - challengePassword, contactPerson, emailAddress, alternateName, @@ -187,7 +186,6 @@ const CertificatesStore = { if (keyCurveId) data.KeyCurveId = keyCurveId; if (keyBitLength) data.KeyBitLength = keyBitLength; - if (challengePassword) data.ChallengePassword = challengePassword; if (contactPerson) data.ContactPerson = contactPerson; if (emailAddress) data.Email = emailAddress; diff --git a/src/views/SecurityAndAccess/Certificates/ModalGenerateCsr.vue b/src/views/SecurityAndAccess/Certificates/ModalGenerateCsr.vue index 04d23d2f..d9d65912 100644 --- a/src/views/SecurityAndAccess/Certificates/ModalGenerateCsr.vue +++ b/src/views/SecurityAndAccess/Certificates/ModalGenerateCsr.vue @@ -155,24 +155,6 @@ </b-form-group> </b-col> <b-col lg="6"> - <b-form-group label-for="challenge-password"> - <template #label> - {{ $t('pageCertificates.modal.challengePassword') }} - - <span class="form-text d-inline"> - {{ $t('global.form.optional') }} - </span> - </template> - <b-form-input - id="challenge-password" - v-model="form.challengePassword" - type="text" - data-test-id="modalGenerateCsr-input-challengePassword" - /> - </b-form-group> - </b-col> - </b-row> - <b-row> - <b-col lg="6"> <b-form-group label-for="contact-person"> <template #label> {{ $t('pageCertificates.modal.contactPerson') }} - @@ -188,6 +170,8 @@ /> </b-form-group> </b-col> + </b-row> + <b-row> <b-col lg="6"> <b-form-group label-for="email-address"> <template #label> @@ -400,7 +384,6 @@ export default { companyName: null, companyUnit: null, commonName: null, - challengePassword: null, contactPerson: null, emailAddress: null, alternateName: [], @@ -436,7 +419,6 @@ export default { companyName: { required }, companyUnit: { required }, commonName: { required }, - challengePassword: {}, contactPerson: {}, emailAddress: {}, alternateName: {}, |