Installing a Windows Domain Certificate in Apache Tomcat

Поділитися
Вставка
  • Опубліковано 8 січ 2025

КОМЕНТАРІ • 17

  • @TeknicallyIDo
    @TeknicallyIDo 12 днів тому

    Hello, I want to start with saying great video! I also want to throw out some additional advice. Some of you may work in an environment where the generated key pair will get rejected by the certificate authority server or you may also run into a situation where it allows you to create it but does not establish the trust. There are two fixes to this problem, The easier one is to request a certificate with mmc.exe > add snap in > certificates > local computer > personal > request certificate and ensure you are selected the option to make the private key exportable. When you export, make sure to select the delete the private key if export is successful box. This will create a key pair that you can transfer directly into the java p12 store. Just be sure to list the server as a common name and your link as a common name so that they both resolve using the certificate.
    The other fix is configuring an application policy SSL template on the certificate authority server and all of this happens automatically. (there's more to this than just what I'm saying) I won't rob you all of figuring it out but it's pretty cool once you do.

  • @Mumra95
    @Mumra95 Рік тому

    Bill, at 4:06 when you enter the Organization Name, Locality, etc, does that have to match the information for the CA (in my case it's GoDaddy), or should I enter the information for my organization? Or does it matter?

    • @Mumra95
      @Mumra95 Рік тому

      Never mind, figured it out, did not matter. This video was a lifesaver, THANK YOU!

  • @TerriGarcia-WICHD
    @TerriGarcia-WICHD Рік тому

    Your tutorial is great, it is easy to follow. I have one question, how do you determine what exertions you need to add to your template when you create it in Microsoft Certificate Services ? I tried the build in webserver one that that is not working for me.

  • @daxmlai
    @daxmlai 2 роки тому +2

    Can you share the steps document

  • @mohammadshalabi7301
    @mohammadshalabi7301 3 роки тому

    Create video, after installing the certificate, any web application I installed in tomcat will be secure by certificate and the url will have the lock icon ?

  • @dragonball8333
    @dragonball8333 3 роки тому

    Great tutorial!! You are the best!!!!!!!!!

  • @AD_MyCollection
    @AD_MyCollection 3 роки тому

    Thanks for the info... did you have to do something with the Java bit first like keytool -genkey -alias tomcat -keyalg RSA ?

    • @billstewart5099
      @billstewart5099  3 роки тому

      The KeyStore Explorer GUI is a lot easier to use than the command-line keytool command.

  • @cyberthreatsdefenders
    @cyberthreatsdefenders 3 роки тому

    Hi, question, what would be my servername? I see you have fabdc1/certsrv. How do I create one or where do I find it?

    • @billstewart5099
      @billstewart5099  3 роки тому

      The server name is your domain's CA (certificate authority) server.

    • @javahtml
      @javahtml 3 роки тому

      @@billstewart5099 hi, this is a local service on the ActiveDirectory server? DomainServer? How we have our own Certificate Authority? Thanks

  • @tauhidliton
    @tauhidliton 6 місяців тому

    very helpful this video

  • @paulleo2027
    @paulleo2027 2 роки тому

    Thanks for this video. Will this work if I want to use a password on the keystore, and if yes, what would be the name of element in the server.xml file

  • @jeffventurini9323
    @jeffventurini9323 2 роки тому

    Hey Bill, have you successfully gotten Apache Tomcat to use a locally installed certificate on a Windows Server? Using something like this?