Bug 1445345 - Backport patch to add SAN extension into certificates
Summary: Backport patch to add SAN extension into certificates
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: freeipa
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Krizek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1445927 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-25 13:54 UTC by Martin Bašti
Modified: 2017-06-10 09:19 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-17 08:22:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Martin Bašti 2017-04-25 13:54:42 UTC
Fix from ticket https://pagure.io/freeipa/issue/4970 must be backported to fedora 25 and 26, because chrome stops supporting certificates without SAN

Comment 1 Petr Vobornik 2017-05-12 16:18:12 UTC
Backporting the patch will solve only new installs but it won't update existing installations.

Martin, could you provide a command which will renew the cert with the required extensions.

Comment 2 Petr Vobornik 2017-05-12 16:19:53 UTC
*** Bug 1445927 has been marked as a duplicate of this bug. ***

Comment 3 Martin Bašti 2017-05-15 07:52:31 UTC
Please follow steps in following email https://www.redhat.com/archives/freeipa-users/2017-April/msg00197.html to renew certificate with SAN extension

Comment 4 Petr Vobornik 2017-05-15 07:56:12 UTC
Then Marco Rhodes transformed it into a simple Ansible playbook:

- name: add SAN extension to IPA Apache SSL certificates
  hosts: ipa_v4
  gather_facts: no

  tasks:
  - name: certmonger - resubmit Apache SSL CSR with SAN extension
    shell: getcert resubmit -d /etc/httpd/alias -n 'Server-Cert' -D `hostname -f` -w -v
    become: true
    register: resubmit_result
  - debug: var=resubmit_result.stdout_lines
  - name: certmonger - list tracking status for Apache SSL certificate
    shell: getcert list -d /etc/httpd/alias/ -n 'Server-Cert'  |egrep " ID|status:|stuck:|certificate:|expires:"
    become: true
    register: list_result
  - debug: var=list_result.stdout_lines

Comment 5 Tomas Krizek 2017-05-17 08:22:24 UTC
This has been fixed since IPA 4.4.1.

https://pagure.io/freeipa/c/b12db924143cd6828c596c0b8a261325f3f589f3


Note You need to log in before you can comment on or make changes to this bug.