jo
  • Home
  • Arthur
  • Photos
  • Hobbies
  • About Me
  • Blog
  • coronavirus
  • Gallery
  • Home
  • Arthur
  • Photos
  • Hobbies
  • About Me
  • Blog
  • coronavirus
  • Gallery

Centos 7 Apache 2.4 and Azure AD SSO

3/15/2020

1 Comment

 
The configuration below took me a bit, so I am putting it down to save you the time I spent.

You have to have a running Apache2.4 with mod_ssl and, configured SSL certificate in place already.

Below is the conversion matrix you need, in order not to get confused.
​I used LastPass to generate my password, but using anything else is fine.
Picture
Use yum to install these libraries and mod_auth_openidc

yum install jansson hiredis mod_auth_openidc jose

Below are my Azure AD parameters followed by my exact working auth_openidc config. It is placed in my "/etc/httpd/conf.d/auth_openidc.conf". The config file, begins with "OIDCProviderMetadataURL" =]
Picture
Below is how you add a connector (app registration)
Picture
These are the configuration settings in Azure Ad once you add the connector above.
Picture
This is how you get all the values you need. Just copy and paste them.
Picture
That URI below and the one in the apache configuration have to be the same.
Picture
Just add new client secret and Azure AD will generate a password for you, which password you will use in the apache configuration.
Picture
1 Comment
Roanoke Glass Cutting link
8/6/2022 05:36:39

Hello mate great bloog

Reply



Leave a Reply.

    Author

    Write something about yourself. No need to be fancy, just an overview.

    Archives

    October 2021
    March 2020

    Categories

    All

    RSS Feed

Powered by Create your own unique website with customizable templates.