Skip to content
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

Adding profile using pki ca-profile-add reports PKIException #1600

Closed
pki-bot opened this issue Oct 2, 2020 · 8 comments
Closed

Adding profile using pki ca-profile-add reports PKIException #1600

pki-bot opened this issue Oct 2, 2020 · 8 comments
Milestone

Comments

@pki-bot
Copy link

pki-bot commented Oct 2, 2020

This issue was migrated from Pagure Issue #1035. Originally filed by mrniranjan (@mrniranjan) on 2014-06-17 15:12:41:


When adding a new profile using pki ca-profile-add , it report PKIException error. Profile gets added but it reports PKIException error

  1. Get xml of caCACert profile
pki -d /opt/rhqa_pki/certs_db/ -n CA_agentV -c redhat123 ca-profile-show caCACert --output /tmp/caCAcert1.out
  1. Edit /tmp/caCAcert1.out and changed the below lines:
-<Profile xmlns:ns2="http://www.w3.org/2005/Atom" id="caCACert">
+<Profile xmlns:ns2="http://www.w3.org/2005/Atom" id="caCACertTemp1">
-<link href="https://dhcp207-176.lab.eng.pnq.redhat.com:8443/ca/rest/profiles
/caCACert" rel="self"/>
+<link href="https://dhcp207-176.lab.eng.pnq.redhat.com:8443/ca/rest/profiles/caCACertTemp1" rel="self"/>
  1. Add the profile to CA
[root@dhcp207-176 setup]# pki -d /opt/rhqa_pki/certs_db/ -n CA_adminV -c redhat123 ca-profile-add /tmp/caCAcert1.out
PKIException: Error changing profile data
  1. Show the profile
[root@dhcp207-176 setup]# pki -d /opt/rhqa_pki/certs_db/ -n CA_adminV -c redhat123 ca-profile-show caCACertTemp1
-----------------------
Profile "caCACertTemp1"
-----------------------
  Profile ID: caCACertTemp1
  Name: Manual Certificate Manager Signing Certificate Enrollment
  Description: This certificate profile is for enrolling Certificate Authority certificates.

  Input ID: i1
  Name: Certificate Request Input
  Class: certReqInputImpl

    Attribute Name: cert_request_type
    Attribute Description: Certificate Request Type
    Attribute Syntax: cert_request_type

    Attribute Name: cert_request
    Attribute Description: Certificate Request
    Attribute Syntax: cert_request

  Input ID: i2
  Name: Requestor Information
  Class: submitterInfoInputImpl

    Attribute Name: requestor_name
    Attribute Description: Requestor Name
    Attribute Syntax: string

    Attribute Name: requestor_email
    Attribute Description: Requestor Email
    Attribute Syntax: string

    Attribute Name: requestor_phone
    Attribute Description: Requestor Phone
    Attribute Syntax: string

  Output ID: o1
  Name: Certificate Output
  Class: certOutputImpl

    Attribute Name: pretty_cert
    Attribute Description: Certificate Pretty Print
    Attribute Syntax: pretty_print

    Attribute Name: b64_cert
    Attribute Description: Certificate Base-64 Encoded
    Attribute Syntax: pretty_print
@pki-bot pki-bot added this to the 10.2.2 milestone Oct 2, 2020
@pki-bot
Copy link
Author

pki-bot commented Oct 2, 2020

Comment from mharmsen (@mharmsen) at 2014-07-17 23:24:48

Per email discussions, propose Milestone 10.2.1.

@pki-bot pki-bot closed this as completed Oct 2, 2020
@pki-bot
Copy link
Author

pki-bot commented Oct 2, 2020

Comment from mharmsen (@mharmsen) at 2014-09-18 04:34:54

Proposed Milestone: 10.2.1 (per CS Meeting of 09/17/2014)

@pki-bot
Copy link
Author

pki-bot commented Oct 2, 2020

Comment from mharmsen (@mharmsen) at 2014-09-24 20:41:40

Per Dogtag 10.2.3 Triage meeting of 09/24/2014 - proposed Milestone: 10.2.2

NOTE: It is fine to address this issue earlier (in 10.2.1) if enough cycles exist.

@pki-bot
Copy link
Author

pki-bot commented Oct 2, 2020

@pki-bot
Copy link
Author

pki-bot commented Oct 2, 2020

@pki-bot
Copy link
Author

pki-bot commented Oct 2, 2020

@pki-bot
Copy link
Author

pki-bot commented Oct 2, 2020

Comment from ftweedal (@frasertweedale) at 2014-12-05 03:50:07

Pushed:

@pki-bot
Copy link
Author

pki-bot commented Oct 2, 2020

Comment from mrniranjan (@mrniranjan) at 2017-02-27 14:09:02

Metadata Update from @mrniranjan:

  • Issue assigned to frasertweedale
  • Issue set to the milestone: 10.2.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant