Skip to content

Commit

Permalink
Removed Challenge password option from Generate CSR panel
Browse files Browse the repository at this point in the history
- 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>
  • Loading branch information
Vedangi Mittal authored and Gunnar Mills committed May 8, 2024
1 parent 2b33526 commit dfba4e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
2 changes: 0 additions & 2 deletions src/store/modules/SecurityAndAccess/CertificatesStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ const CertificatesStore = {
keyPairAlgorithm,
keyBitLength,
keyCurveId,
challengePassword,
contactPerson,
emailAddress,
alternateName,
Expand All @@ -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;

Expand Down
22 changes: 2 additions & 20 deletions src/views/SecurityAndAccess/Certificates/ModalGenerateCsr.vue
Original file line number Diff line number Diff line change
Expand Up @@ -154,24 +154,6 @@
</b-form-invalid-feedback>
</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>
Expand All @@ -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>
Expand Down Expand Up @@ -400,7 +384,6 @@ export default {
companyName: null,
companyUnit: null,
commonName: null,
challengePassword: null,
contactPerson: null,
emailAddress: null,
alternateName: [],
Expand Down Expand Up @@ -436,7 +419,6 @@ export default {
companyName: { required },
companyUnit: { required },
commonName: { required },
challengePassword: {},
contactPerson: {},
emailAddress: {},
alternateName: {},
Expand Down

0 comments on commit dfba4e5

Please sign in to comment.