07. Install and Configure Offline Standalone Root Certificate Authority

Поделиться
HTML-код
  • Опубликовано: 19 авг 2024
  • Video Series on Deploying Two-Tier Public Key Infrastructure in Windows Server 2019:
    Part-2: In the second part of this ongoing video series on deploying two-tier public key infrastructure, we will see the steps to Install and Configure Offline Standalone Root Certificate Authority in Windows Server 2019. We will also configure and publish the CDP and AIA location to point to web server for verification.
    Link to see the next part on How Install and Configure Enterprise Subordinate Root Certificate Authority on Windows Server 2019.
    • 08. Install and Confi...
    Link to see the previous part: Preparing Lab setup for this video series:
    • 06. Lab Setup to Depl...
    This Video series is based on Technet Guide on Windows Server 2008:
    social.technet...
    Full Playlist:
    yt.vu/p/PLUZTRm...
    Follow my blogs:
    msftwebcast.bl...

Комментарии • 41

  • @MSFTWebCast
    @MSFTWebCast  2 года назад +6

    On RootCA, copy and paste this into notepad, and save it as C:\Windows\CAPolicy.inf
    ###########################################################
    notepad C:\Windows\CAPolicy.inf
    [Version]
    Signature=”$Windows NT$”
    [PolicyStatementExtension]
    Policies=InternalPolicy
    [InternalPolicy]
    OID= 1.2.3.4.1455.67.89.5
    [Certsrv_Server]
    RenewalKeyLength=4096
    RenewalValidityPeriod=Years
    RenewalValidityPeriodUnits=20
    CRLPeriod=Years
    CRLPeriodUnits=20
    CRLDeltaPeriod=Days
    CRLDeltaPeriodUnits=0
    LoadDefaultTemplates=0
    ########################################################
    Define the Active Directory Configuration Partitions Distinguished Name.
    certutil -setreg ca\DSConfigDN "CN=configuration,dc=mylab,dc=local"
    certutil -setreg ca\DSDomain "dc=mylab,dc=local"
    _________________________________________________________
    This will sets the overlap period between the CRL and the Delta CRL.
    certutil.exe -setreg CA\CRLOverlapPeriodUnits 3
    _________________________________________________________
    This command will sets the CRL Overlap Period to weeks.
    certutil.exe -setreg CA\CRLOverlapPeriod “Weeks”
    _________________________________________________________
    This command will sets the maximum certificate validity period of certificates issued by this.
    CA
    certutil.exe -setreg CA\ValidityPeriodUnits 10
    #######################################################
    Restart the AD CS service.
    net stop certsvc
    net start certsvc

    • @abdelazizaqel
      @abdelazizaqel 2 года назад

      Great work thanks for your help and keep us updated
      can you please enable Subtitles for this playlist it will help us more and if there link direct to your explanation blog like other playlist that will be amazing

  • @MrIT1982
    @MrIT1982 4 месяца назад +1

    very good impresive and easy set up thank you

  • @ArifKhan-uf3ml
    @ArifKhan-uf3ml 2 года назад +2

    You should have explained first two path in AIA and CDP which you did not delete. Why? what is the purpose of those? Thank you.

  • @lahirunimnajith3519
    @lahirunimnajith3519 9 месяцев назад

    thank you brother

  • @shitalpawar9467
    @shitalpawar9467 2 года назад

    How to remove file location from cdp extentions if we forgot to remove? I removed from cdp and publish the CRL again but still I can see error for file location in pkiview.msc

  • @rajd2145
    @rajd2145 4 года назад +1

    Hello, I can not find out Notepad file. Appreciate if you can share it with me

  • @fbifido2
    @fbifido2 3 года назад

    @2:07 - PeriodUnits=20, can we change this to 50 years ????
    @5:49 - is RSA the only option you have here, can you select another type ????
    @6:11 - what can be entered in "Distinguished name suffix" ????

  • @jarves1231
    @jarves1231 3 года назад +1

    I saw another tutorial but using windows 2016. The are not using the those commands and the inf file. Are these commands necessary for windows 2019?

    • @MSFTWebCast
      @MSFTWebCast  3 года назад +1

      It is up to us what settings we want to define for our CA. That file is used to defines the extensions, constraints, and other configuration settings that are applied to a root Certification Authority certificate and all certificates issued by the root CA.

    • @jarves1231
      @jarves1231 3 года назад +1

      @@MSFTWebCast I understood now. Your method is the powershell, while others I watch was doing the gui.

  • @mohammedpasha3649
    @mohammedpasha3649 2 года назад

    Excellent video, can you please cover SCEP/NDES?

    • @MSFTWebCast
      @MSFTWebCast  2 года назад

      Great suggestion! I will try.

  • @riddler9552
    @riddler9552 4 года назад +1

    Hey where is the notepad file? It's not on your website either.

    • @subhrojeetmukherjee8030
      @subhrojeetmukherjee8030 4 года назад

      social.technet.microsoft.com/... Check this link and find the CA Policy.

  • @DmitryMalyshok
    @DmitryMalyshok 4 года назад

    Thank you! Please give link to CAPolicy.inf Offline root and Sub CA and instruction command

  • @mokk1961
    @mokk1961 Год назад

    I could not find capolicy.inf content and other certutil commands you referenced

    • @MSFTWebCast
      @MSFTWebCast  Год назад +2

      notepad C:\Windows\CAPolicy.inf
      [Version]
      Signature=”$Windows NT$”
      [PolicyStatementExtension]
      Policies=InternalPolicy
      [InternalPolicy]
      OID= 1.2.3.4.1455.67.89.5
      [Certsrv_Server]
      RenewalKeyLength=4096
      RenewalValidityPeriod=Years
      RenewalValidityPeriodUnits=20
      CRLPeriod=Years
      CRLPeriodUnits=20
      CRLDeltaPeriod=Days
      CRLDeltaPeriodUnits=0
      LoadDefaultTemplates=0

    • @mokk1961
      @mokk1961 Год назад

      @@MSFTWebCast Thank you for such quick response, and thank you for converting Microsoft Document in to a video.

  • @caseybriones1085
    @caseybriones1085 4 месяца назад

    How to know that it is already offline?

    • @MSFTWebCast
      @MSFTWebCast  4 месяца назад

      Most of time offline CA wont be running, it tuned off after the initial usage. If it running then it wont be connected to the network.

    • @ninja2807
      @ninja2807 3 месяца назад

      @@MSFTWebCast why you used an offline Root CA? Would this also worked in the Root CA is online and joined to the domain?

  • @JasonForte-fw3uj
    @JasonForte-fw3uj Год назад

    Can you check if you made a mistake with "CA\CRLOverlapPeriodUnits" should it actually be "CA\CRLOverlapUnits" ? Thank you.

    • @MSFTWebCast
      @MSFTWebCast  Год назад

      I have checked one more time and it is correct. Reference: learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc731104(v=ws.11)?redirectedfrom=MSDN and

    • @JasonForte-fw3uj
      @JasonForte-fw3uj Год назад

      @@MSFTWebCast Thanks for the reply. I installed ADCS for Server 2016 and that registry key is not there by default as all the others are. If I navigate to HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/CertSvc/Configuration/ the two registry entries there are CRLOverlapPeriod and CRLOverlapUnits. CRLDeltaOverlapPeriodUnits is not there unless i create it. Though interesting others such as ValidityPeriodUnits and does exists. It seems that they may have changed the name of these in 2016? what are your thoughts? After following along with your video i have both entries (CRLOverlapUnits and CRLOverlapPeriodUnits) but not sure i need both.

    • @atifmbaig
      @atifmbaig Год назад

      @@MSFTWebCast I don't see CA\CRLOverlapPeriodUnits on this link. It is "CA\CRLOverlapUnits"

  • @muhari776
    @muhari776 2 года назад

    hello, is it necessary to use the CAPolicy.inf? i mean, can i configure this series without it?

    • @MSFTWebCast
      @MSFTWebCast  2 года назад

      CAPolicy.inf file tells the server how to configure itself when the Certificate Services role is installed. If you dont want to use it, it is ok but it is best practice to have it.

    • @muhari776
      @muhari776 2 года назад

      @@MSFTWebCast Thank you for the explanation 😁

  • @abhimanyuneupane9785
    @abhimanyuneupane9785 Год назад

    can we do the same process on Online Standalone Root CA - domain joined

    • @MSFTWebCast
      @MSFTWebCast  Год назад

      Yes, you can deploy standalone root CA on domain joined server. The process will remain same but in domain joined server, you need to select standalone CA option while specifying the type of the CA.

    • @abhimanyuneupane9785
      @abhimanyuneupane9785 Год назад

      @@MSFTWebCast I already have AD CS which is Root. Now i want to add Subordinate or Intermediate CA.
      1. Can i install on same server?
      2. Do i need another Server for Subordinate CA .
      3. Can i select Enterprise CA as setup type and Subordinate CA as CA Type on domain joined server?

    • @MSFTWebCast
      @MSFTWebCast  Год назад

      @@abhimanyuneupane9785 Generally if you are deploying 2 tier PKI then your Root CA will stand-alone offline CA. Then you deploy your subordinate CA as an enterprise CA. Yes you need dedicated server in order to setup another CA.

    • @robertjude7880
      @robertjude7880 Год назад

      @@MSFTWebCast Do i have to do all the change you have shown in this video for enterprise CA ..

    • @MSFTWebCast
      @MSFTWebCast  Год назад

      @@robertjude7880 Its up to your requirements. You can find a doc on those setting on TechNet, go through it and set up those settings as per your requirements. You can also find some recommended settings or you can say must have on Internet.

  • @ricflair4052
    @ricflair4052 4 года назад

    16:23
    If i accidentally deleted the .crt file, how can I regenerate it again? Thanks

    • @MSFTWebCast
      @MSFTWebCast  4 года назад

      For that you need to generate (publish) CRL list again. Repeat steps from 14:48 to 15:18

    • @ricflair4052
      @ricflair4052 4 года назад

      @@MSFTWebCast its .Crt , not Crl file. and the time stamp generated are different

  • @Paul-oi2wz
    @Paul-oi2wz 2 года назад

    You failed to link to the notepad file.

    • @MSFTWebCast
      @MSFTWebCast  2 года назад +1

      I am extremely sorry about it. Check the comment section again I have added the content of the notepad file as a comment.