pfSense - Let's Encrypt guide. Get a proper SSL certificate for your WebUI.

Поділитися
Вставка
  • Опубліковано 29 вер 2024
  • OPNSense video I mentioned at the beginning:
    • Stop Using Self-signed...
    PayPal Donation to support the release of new videos:
    www.paypal.com...
    Toss some BAT at us from the Brave Browser, or use our link to install it :)
    brave.com/gat041
    View and support us at LBRY:
    lbry.tv/@gatew...

КОМЕНТАРІ • 125

  • @pedrofrade1183
    @pedrofrade1183 4 роки тому +11

    You definitely deserve more recognition. Your videos are extremely well put together. Hope you keep making them!
    Greets from Portugal!

    • @GatewayITTutorials
      @GatewayITTutorials  4 роки тому

      Thank you very much for your kind words, I am glad you like the content :)

  • @johntran9131
    @johntran9131 3 роки тому +2

    Does the cron job apply to DNS-Manual method?

    • @GatewayITTutorials
      @GatewayITTutorials  3 роки тому +1

      Not really, because you'll need to manually replace the link on the DNS panel (LE bot generates unique one every time on renewal), unless your DNS provider is a CloudFlare and you know how to deal with their APIs to do it automatically.

  • @rocksonarthur2724
    @rocksonarthur2724 2 роки тому +3

    you can use 443 if you don't like using port 80 just change to Standalone TLS-ALPN server, hope it helps. thanks for the video.

  • @ronaldabalza9713
    @ronaldabalza9713 Рік тому +1

    How can i disable accessing public IP i have already ssl on my domain pfsense but i can still access the public ip with no ssl cert what will be the redirection of the public ip?

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

      You cannot disable the IP access, it's simply a pfSense's limitation. In theory, we could edit the NGINX config file, and at that point it would have been just a matter of redirecting the end user from that specific IP to an HTTPs endpoint, but pfSense will overwrite the config file sooner or later, so it's not a permanent fix.

  • @Sneksz
    @Sneksz 3 роки тому +2

    So I tried to do this but using DNS-Cloudflare instead with my domain name and API key. I'm getting a ERR_CERT_AUTHORITY_INVALID error. What could I be missing here? The certificate generated successfully and everything, this was the only issue. I do have pfblocker enabled and suspect this may be it. What else can I be missing?

  • @MrFalcon79
    @MrFalcon79 Місяць тому

    how to enable SSL cert for my website (http), hosted on my local server, to make it HTTPS using pfsense and Let's Encrypt ?

  • @DanishAnton
    @DanishAnton 3 роки тому +8

    Great video. Could you create one using DNS validation? It seems to be pfsense's recommended way.

  • @thezfunk
    @thezfunk Місяць тому

    What happens if you are using port 80 forwarded to a web server behind your pfSense firewall?

  • @ammarkh
    @ammarkh Рік тому +1

    How do i get domain name SAN? I dont have a domain. Thanks in advance

  • @stephenallen4319
    @stephenallen4319 4 місяці тому +1

    Thank you!! - Although it was just a walk-through, seeing how it all fits together is the perfect starting point for more advanced learning.

  • @RaviKumar-mj3gs
    @RaviKumar-mj3gs 2 роки тому +1

    I could not get the ACME certificate to issue on my pfsense with HA Proxy. I have a cloudflare sub domain and ACME fails with error 400 - "Unable to update challenge :: authorization must be pending". I also deleted http to https redirect on HA Proxy but that did not help.

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

    It's possible to use this resources in PFSENSe to generate certificates to another machines (for example the machine with webservice in IIS, in intranet)?

  • @finite934
    @finite934 Рік тому +1

    Thanks for that... It's not straightforward. But do you have other guides for getting it working with the DNS method instead of Standalone HTTP Server? Getting it working with the DNS method would negate the need for setting a new port for the WebConfigurator, and the fw rule to open port 80, and disabling the webgui redirect rule. Plus, i'd be able to use my hostname.domainname resolution instead of the external DNS name even when im on the LAN. I mean, I get why you did it this way; because it's the easiest way to get up and running without any external configuration, but it's not the optimal method.

  • @RushmanCool
    @RushmanCool 3 роки тому +2

    I wish you had used a real(ish) set up with both WAN and LAN interfaces. On top, your rules are not default ones; moreover, what you are showing as "WAN" port has FW rules for LAN interface. I am pretty sure, those who are watching this kind of tutorials are beginers with pfSense and your interfaces and rules will confuse a lot of folks - myself included.

    • @GatewayITTutorials
      @GatewayITTutorials  3 роки тому +1

      It was a VM behind another firewall, and I NATed the traffic onto pfSense, so technically it was the WAN interface, but you are right I should have added LAN into the setup to cause less confusion.
      Additional rules are there to help me manage the firewall:
      Allow 8000 lets me connect to the WebUI over the WAN connection, that otherwise would be blocked.

  • @TripleMachine
    @TripleMachine 8 місяців тому

    So If you always use ip addreses of your devices (like ip cams) you will never get an encripted connection? You need to setup a dns for each device?

  • @JCrossMsM
    @JCrossMsM 3 роки тому +3

    What all does "have your domain ready" at @4:03 entail? I have a domain, I've essentially done nothing to it, and I get an error when I try to issue the certificate. From researching it, it seems like LetsEncrypt is looking for a txt file at the domain, but I'm not hosting a site with this domain.

    • @GatewayITTutorials
      @GatewayITTutorials  3 роки тому +2

      You need to point your domain name to the firewall IP address, if it's static.
      If your IP address is dynamic, use the dynamic DNS provider, like NoIP.

    • @JCrossMsM
      @JCrossMsM 3 роки тому +1

      @@GatewayITTutorials Makes sense. I'll give that a shot. Thanks 👍🏻

  • @henninb
    @henninb 2 роки тому +3

    This is a great video for getting firewall UI certs. This leads me to a question to further use let's encrypt within the internal network of the firewall. I have a ddwrt router (which needs a cert) that is receiving its ip from pfsense. What process would be best to get a let's encrypt cert without exposing ddwrt to the outside world? Thanks again for the education on cert setup.

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

      You could use HAProxy on pfSense, so your pfSense will become a reverse proxy for ddwrt, which requires zero configuration on the ddwrt itself.

    • @henninb
      @henninb 2 роки тому +1

      @@GatewayITTutorials perfect, i will be trying that.

  • @madse9356
    @madse9356 2 роки тому +1

    It works! I used cloudflare dns (not standalone HTTP server). At first I got errors, but I made 2 mistakes: Wrong subdomain and a typing error. Fixed those, and now the connection is secure

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

    can you specify ACME as the source, i understand your explanations on hacking port 80 just thought it would be better to have specific ip's as the source instead of leaving it (any). good video. thanks

    • @GatewayITTutorials
      @GatewayITTutorials  2 роки тому +1

      Thank you for your comment.
      It's doable, but it will be hard to keep track of their servers' IPs.

  • @JuanchoPM
    @JuanchoPM 3 роки тому +1

    After this video, you earned my sub and likes... Ill checkout the content, thank you so much... Cheers from Costa Rica.

  • @aubreykloppers9202
    @aubreykloppers9202 2 роки тому +1

    AWSOME - You included everything, unlike other videos. Thank you, from Cape Town, South Africa

  • @MhNetSecurity
    @MhNetSecurity 3 роки тому +2

    Thank you for the video. Is there trick in order for pfsense to accept the certificate even if we use the IP address instead of the domain name?

    • @GatewayITTutorials
      @GatewayITTutorials  3 роки тому +3

      It's not about pfSense, it's just how HTTPs works, so there is no work around mate :)

  • @MrFalcon79
    @MrFalcon79 Місяць тому

    thnx a lot for shorting the way for me with my pFsense :X

  • @WilliamSmith-gj8wc
    @WilliamSmith-gj8wc 10 місяців тому

    I keep getting check that a DNS record exists for this domain

  • @andygonzalez7012
    @andygonzalez7012 2 роки тому +1

    using noip what choice do i have to select for the webpage; DNS Host, Web redirect, DNS Alias (CName)?

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

      You can follow the video exactly, NOIP just points an IP address to the DNS name you've chosen in their system

  • @gdawg-77
    @gdawg-77 4 місяці тому

    How quick was that! Great video!

  • @brianhenning6030
    @brianhenning6030 3 роки тому +1

    Thanks to your great video I was able to setup my certificate. I appreciate the details you provided.

  • @sulmanshah
    @sulmanshah 2 роки тому +1

    stupid question here: I don't have a domain name or anything, I've got my pfsense connected to my ISP modem, I want to use lets encrypt for traffic coming in and out from the ISP modem, is that feasable? I don't have domain name and im using pihole as my DNS server. thanks

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

      You need to own at least 1 domain for this to work. Get a free one from NOIP or something, if you don't want to pay for it.

    • @sulmanshah
      @sulmanshah 2 роки тому +1

      @@GatewayITTutorials thank you so much. Will that slow down my connection. I have 1gbps fiber

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

      @@sulmanshah it will not slow down your connection, because it has nothing to do with the connection speed :)

    • @sulmanshah
      @sulmanshah 2 роки тому +1

      @@GatewayITTutorials thanks so much man. Really helps

    • @sulmanshah
      @sulmanshah 2 роки тому +1

      Sorry one more noob question, would I use the same tutorial as this to make my use case happen? Or something different. The no ip site is great btw nece knew it existed

  • @N1NJAKIDD
    @N1NJAKIDD 3 роки тому +1

    Thank you for this, great guide. You've got yourself a sub👍🏾

  • @tiejak6493
    @tiejak6493 2 роки тому +1

    Hello. Thanks for your Video. Sorry for my bad English. because of port 80. you can usually set wan under advanced schedule so that the port is only active at a certain time. namely when the cron job is running.

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

      Sure thing: just create a scheduled rule in the FW section. The schedule itself could look something like this: Turn on LE 80 -> LE Renew -> Turn off LE -> Turn on 80 for something else.

  • @lavithhcm
    @lavithhcm 5 місяців тому

    LoL. I wouldn't do it like this

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

    It doesn't work with my port 8443 not 443.

  • @Dieu-w4n
    @Dieu-w4n 9 місяців тому

    how do you go about obtaining the domain name?

  • @robysukma9023
    @robysukma9023 2 роки тому +1

    hi man, i success till get certificate and put in on system>advance but my firewall still can't secure, any suggest ?

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

      Try another browser, because your current one could cache the old certificate

  • @Alex-un5tl
    @Alex-un5tl Рік тому

    where did the get the domain in the 1st place?

  • @anobody5708
    @anobody5708 2 роки тому +1

    I got lost while adding the domain name. Where did you get this domain name from? Great video btw.

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

      Same here! But Great video otherwise

  • @captgrant
    @captgrant 3 роки тому +1

    Thanks for clearing up some gray areas regarding certificates.

  • @manurando
    @manurando 3 роки тому +1

    A question if the pfsense web gui is running with ssl with a self-signed certificate (443), and the Certbot uses port 80. What is the relevance of changing the port?

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

      It's not imperative, but I got used to it due to the fact that there are a number of webservices running behind my firewall, so I need these ports all the time.

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

    How can I do this behind CGNat?

  • @RootRealm
    @RootRealm 3 роки тому +1

    please shoot a video about pfsense suricata.
    show how to block and unblock ip
    sorry for my bad English

  • @Boatsman99
    @Boatsman99 3 роки тому +1

    I didn't see you creating an A DNS record (ACME challenge). Did I miss it?

    • @GatewayITTutorials
      @GatewayITTutorials  3 роки тому +1

      I didn't cover the part where you have to create DNS A-type record, because every DNS provider is different. Before you start following the process in this video you need to create a DNS record and point it to your firewall, or use DDNS service in case your public IP is dynamic.

  • @JDSchuitemaker
    @JDSchuitemaker Рік тому +1

    Great tutorial and it worked instantly on my home network. Thank you!
    I also added my pfSense as a subdomain to Cloudflare, but I am getting an error for the host. It says that Cloudflare is unable to establish an SSL connection to the origin server. Any hints what causes this?

    • @blackrockcity
      @blackrockcity 8 місяців тому

      Did you solve this?

    • @JDSchuitemaker
      @JDSchuitemaker 8 місяців тому

      ​@@blackrockcity No, unfortunately not.

  • @havoc_64
    @havoc_64 3 роки тому +1

    Great Video! Thanks

  • @werecow68
    @werecow68 4 місяці тому

    Amazing video, thank you so much for making this. Worked 100%. Only thing I'll add is ensure you either have a hosted domain name to use or a dynamic DNS host entry which needs to match the name of the router.
    Hope you come back and make more videos as yours is outstanding!!!

  • @videomichel
    @videomichel 3 роки тому +1

    comprehensive and concise - good job :)

  • @AmirOnsori-q1z
    @AmirOnsori-q1z 24 дні тому

    good job

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

    Great video! Just wondering if you have the issue of the SSL certificate not renewing if HAProxy is running? I need to disable it to renew my ticket for some reason if not i will get the following error “Cannot negotiate ALPN protocol”

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

    Hi,
    I have done exactly what you did but my pfsense is running on the default certificate, I have change SSL/TLS Certificate option from default to Let's encrypt but it's running on the older one. Please help

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

    Okay great video. I can not get my cert to stay it keeps defaulting under advanced webConfigurator (SSL/TLS Certificate) Not sure what I missed

  • @ERolando78
    @ERolando78 3 роки тому +1

    Excellent demo, thank you. Consult the same certificate I can use for a transparent proxy server, activating the option "HTTS / SSL Interception", "SSL / MITM Mode" "Splice All", and in the option "CA" use that was created by the package "Acme"
    Thank you

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

      Thanks :)
      To be honest, I've never played with Squid due to a lack of use cases. Give it a go, and post another comment here to let other people know if it's possible please.
      P.S. I am not quite sure if it brings any benefit doing it this way, as you'll need to import the cert on all of the machines behind proxy regardless. In any case, definitely let us know how it goes.

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

      Have you use acme certificates in transparent proxy server ?

  • @eidodoos
    @eidodoos 10 місяців тому

    amazing video. thank you for sharing this. your instruction is crystal clear

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

    Hi, I'm just wondering if these certificates auto-renew?

  • @studi0z
    @studi0z 3 роки тому +1

    thx 4 tutorial !

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

    i got an error on certificate, did you publish the solution?

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

    That’s a great video, thanks .My setup didn’t work, I had to add a floating rule similar to the wan rule but it only worked externally by directing it to port 8000 for some reason

  • @oleksandrlytvyn532
    @oleksandrlytvyn532 5 місяців тому

    Thanks

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

    Thank you - I implemented it according your video - still valid after 2 years.

  • @sefhirot2008
    @sefhirot2008 3 роки тому +1

    Thanks man

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

    I like your well-organized style, thanks for the detailed explanation.

  • @simonouting6538
    @simonouting6538 3 роки тому +1

    Great video, you made it nice and easy to setup and it all worked perfectly :)

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

      you prolly dont give a damn but does any of you know of a way to log back into an instagram account?
      I was dumb forgot the password. I love any tricks you can offer me.

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

    Thankyou for this was very easy to follow the first try it faild but then i changed the domain i was using one of my sub domains and that worked fine however even tho it issued fine and all that it still has an ! on the padlock saying connection not secure

  • @DanielBeszterda
    @DanielBeszterda 4 роки тому +1

    is there any option to do this same on OPNsens?

    • @GatewayITTutorials
      @GatewayITTutorials  4 роки тому +1

      Hi. Check the video description, I made the same guide for OPNSense.

  • @HamsterHawk
    @HamsterHawk 2 роки тому +1

    should i disable port 80 after i get the cert working?

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

      Not necessarily, you can watch my video on OPNSense ACME certs to understand why :)

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

      @@GatewayITTutorials i couldnt find where you talked about it in the video, can you give me a timestamp?

    • @GatewayITTutorials
      @GatewayITTutorials  2 роки тому +1

      @@HamsterHawk Sorry, my bad, it was in this video: ua-cam.com/video/1qVAapgr3hI/v-deo.html

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

    That Was Awsome , You explaind that very clearly and easy , thanks a lot

  • @serres162r
    @serres162r 3 роки тому +1

    Спасибо вам!

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

    It works fine
    Thanks

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

    I check your video and setup same in my Pfsense but when I check these certificates in browser with valid domain then it's given error ^fake certs and non-secure certs^

    • @GatewayITTutorials
      @GatewayITTutorials  3 роки тому +1

      Hi there,
      Please post your issue on our Subreddit here:
      www.reddit.com/r/gatewayittutorials/
      Include screenshots, logs and other useful info, so it's easier for me to help you.

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

    my ntopng stopped working

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

    Very thorough. Thank you

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

    did exactly what you did but got a " 400 bad request The plain HTTP request was sent to HTTPS port
    nginx " instead and now im locked out of my pfsense...

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

      Looks like you need to switch the protocol in your URL. From HTTP to HTTPS or vise versa.

    • @pahtriac
      @pahtriac 3 роки тому +2

      didnt see that you did this port 8000 in the https section and you didnt mention so i was quickly confused for a few minutes had to reset the LAN IP im back in

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

    Hey dude, Superb easy to follow video! Setup with no worries except one? I can't get Truenas to connect to update servers on port 80. I opened a port and found my NAS connected to the Internet so promptly turned it off!!. Any chance you can give me some pointers with the Rules/NAT configuration, please?.

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

      I am not sure I understand the question. Is this the type of connection you need?
      Internet -> pfSense -> NATed port 80 -> TrueNAS

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

      @@GatewayITTutorials Yes mate, managed to get an SSL on Truenas, 2FA & Email. Just won't update or install plugins, assuming its NAT related.

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

      How is your IP configured on the TureNAS side? Sounds like a gateway static config issue.

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

    Mine cert couldn’t register

  • @pnederve
    @pnederve Рік тому +1

    Hi there, great tutorial video. However, I am stuck with one problem. I am getting a connection timed out (522) from cloudflare when I try to load my site. I have cloudflare set up to proxy the DNS entry but I have also tried it as a straight A type as well. My WAN rule looks just like what was created here. Not exactly sure where to look for the issue next. Would appreciate a hint!

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

    hey yes