Search

26.9. Replacing the Web Server's and LDAP Server's Certificate

download PDF
To replace the service certificates for the web server and LDAP server:
  1. Request a new certificate. You can do this using:
    • an external CA: generate a private key and certificate signing request (CSR). For example, using OpenSSL:
      $ openssl req -new -newkey rsa:2048 -days 365 -nodes -keyout new.key -out new.csr -subj '/CN=idmserver.idm.example.com,O=IDM.EXAMPLE.COM'
      Submit the CSR to the external CA. The process differs depending on the service to be used as the external CA.
  2. Replace the Apache web server's private key and certificate:
    [root@ipaserver ~]# ipa-server-certinstall -w --pin=password new.key new.crt
  3. Replace the LDAP server's private key and certificate:
    [root@ipaserver ~]# ipa-server-certinstall -d --pin=password new.key new.cert
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.