ConfigMgr

VMware, Azure and Automation

Using ADFS with vCenter 7

20 november 2020 VMware

A while ago I wrote an article about using LDAPS to connect vCenter to Active Directory. In that article, I mentioned a second (secure) option to connect to AD: by using ADFS. In this article, I will give you the steps to change your vCenter Identity Provider from Embedded to ADFS.

The first step is to install and configure ADFS. I did this on my Domain Controller so I didn’t need an extra VM. After installing the bits you need to run the ADFS configuration wizard to configure the ADFS service. You need the following prerequisites:
– DNS A record for your ADFS FQDN (I used adfs.lab.local)
– SSL Certificate for that FQDN

To create the certificate I used OpenSSL and Microsoft Certificate Services. The first step is to generate a private key and a certificate request.

openssl genrsa -out private.key 2048
openssl req -new -key private.key -out certificate_request.csr

After receiving the certificate you have to combine it with the private key in order to import both to the machine certificate store on the Domain Controller.

openssl pkcs12 -export -out cert.pfx -inkey private.key -in cert.crt -certfile CACert.crt

After you configured ADFS you have to add an ADFS Server Application. There is a VMware KB article with detailed steps available.

Now your ADFS server is ready so you can try to change the Identity Provider. I used the VMware documentation that can be found here.

When you now open the vSphere Client the login page is slightly different…

You can type your user name and based on the domain you are redirected to the ADFS login screen.

Retype your user name and enter your password. When you click on Sign in you are logged in to the vSphere Client. You can still use local accounts by using the vsphere.local domain.

ADFSIdentityProvidervCenter

Network Port Diagram vSphere

Testing Script Runtime Service for vSphere - part 1

Recent Posts

  • Using API for Aria OPS Chargeback
  • Unable to set reservation on Org VDC
  • Veeam Tweaks
  • VCF Anyone? Get your license for free…
  • Configure Entra ID as Cloud Director IdP

Recent Comments

Geen reacties om te tonen.

Archives

  • april 2025
  • maart 2025
  • november 2024
  • oktober 2024
  • januari 2024
  • november 2023
  • oktober 2023
  • september 2023
  • juni 2023
  • mei 2023
  • april 2023
  • november 2022
  • maart 2021
  • februari 2021
  • januari 2021
  • november 2020
  • oktober 2020
  • september 2020
  • juli 2020
  • juni 2020
  • april 2020
  • maart 2020
  • februari 2020
  • oktober 2019
  • september 2019
  • juli 2019
  • juni 2019
  • mei 2019
  • maart 2019
  • februari 2019
  • januari 2019
  • december 2018
  • november 2018
  • april 2018
  • januari 2018
  • juli 2017
  • juni 2017
  • mei 2017

Categories

  • AnyLinq
  • Azure
  • Cloud Director
  • ConfigMgr
  • DIY
  • HomeAssistant
  • Microsoft
  • PowerCli
  • Powershell
  • SCCM
  • Script
  • Solutions
  • System Center
  • Veeam
  • VMware
  • vRealize Automation
  • vRealize Orchestrator
Proudly powered by WordPress | Theme: Doo by ThemeVS.