Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. I hate linux. I hate SSL more.

I hate linux. I hate SSL more.

Scheduled Pinned Locked Moved The Lounge
linuxsecurityhelpquestionlearning
43 Posts 26 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Daniel Pfeffer

    honey the codewitch wrote:

    Maybe some of you know why waving a dead chicken over linux never works, but I don't.

    Windows is a proprietary O/S, so waving proprietary dead chickens over it works. Linux is an open-source O/S; you need to open-source your dead chickens. ;) :)

    Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.

    H Offline
    H Offline
    happnatious1
    wrote on last edited by
    #33

    Waving dead chickens over windows works but with Linux you must use a dead penguin. :laugh:

    1 Reply Last reply
    0
    • O obermd

      The 90 day renewal is what LetsEncrypt uses for free certificates. You can purchase a certificate that last up to two years. There are multiple reasons certificates expire, from ensuring it doesn't get used by someone else after your site is gone to ensuring the certificate itself is resistant to brute force decryption attacks.

      M Offline
      M Offline
      Mateusz Jakub
      wrote on last edited by
      #34

      One small correction - browsers don't accept certificates that are valid longer than 1 year.

      1 Reply Last reply
      0
      • K kmoorevs

        honey the codewitch wrote:

        Certs are a hassle I'd rather not have to deal with ever 90 days.

        I've got one 'bought' SSL cert (2 yrs) and two letsencrypt ssl certs. The letsencrypt certs on my windows servers are good for 90 days and are managed automatically by an app/service called certifytheweb. It was a bit tricky getting it working the first time, but since then I haven't had to worry about them for over 2 years now. I'm running a mail server on one of those and recently (2 weeks ago) finally figured out how to export the public/private keys that are required for hMailServer. Now I've just got to learn enough powershell to automate the process! :)

        "Go forth into the source" - Neal Morse "Hope is contagious"

        M Offline
        M Offline
        Mateusz Jakub
        wrote on last edited by
        #35

        I tried other stuff to have IIS/Windows autorenew (wildcard) - but not CertifyTheWeb - I will try it out and if it works I am going to owe you a beer. If not I will just keep on drinking myself :)

        K 1 Reply Last reply
        0
        • M Mateusz Jakub

          I tried other stuff to have IIS/Windows autorenew (wildcard) - but not CertifyTheWeb - I will try it out and if it works I am going to owe you a beer. If not I will just keep on drinking myself :)

          K Offline
          K Offline
          kmoorevs
          wrote on last edited by
          #36

          IIRC, the trick in IIS was app pool permissions on the .well-known/acme-challenge folder. Good luck! :)

          "Go forth into the source" - Neal Morse "Hope is contagious"

          1 Reply Last reply
          0
          • M maze3

            why do we need privecy? because years ago someone complained about someone walking around naked, they were chill with it, if you dont want to look thats on you. but nah, all the offended people got together and said, NO, privates should be covered by default we making some laws about it, then everyone like ok and followed along. Its more the 1 person that was taking pictures of other naked people in public, which if they didnt go and share it out with everone else, probably would have been an issue, but they did, and complaints were made. the real annoying part is when its your own local home and its still like no, you gotta go extra steps if want to be un clothed here. but I own this, I know this place, its okay. No your password for localhost appears on a leak list, imma be dumb and not filter out admin admin for localhost

            K Offline
            K Offline
            Kirk 10389821
            wrote on last edited by
            #37

            Maze, You are clearly missing the point. Did you know the IRS has a rule that they can use ILLEGALLY Obtained information against you? I used to be you! (Since I don't break the law, what do I care!) Here is the simplest example. Given JUST the data the government admits it collects from Cellphone data... I can geofence rich neighborhoods, and houses, and EXPENSIVE hotels nearby. I can now calculate who is having affairs. Where they live, who they are having the affair with. Where both people work and live. In Bulk, in MINUTES. Now, I knock on your door, and I confront you, and suggest your wife need not know, if you DONATE a reasonable sum to my political campaign, or whatever. (Having an affair is NOT ILLEGAL). Being extorted is. But you are powerless. BTW, they know enough to destroy your career. (FWIW, I've seen this very tactic, and years long legal fees sponsored by our own government used). How about framing you for a crime you did not commit. But they used your cellphone data (In advance of trumping up the charges to put you in the area, where they knew you had no alibi). This data can be used to solve crimes, or to implicate people. Our constitution is SUPPOSED to protect us. It does not! Because they don't have to WIN the lawsuit. The person I know, did NOT lose the case. But they lost MILLIONS and had to step down from their position. And how about CA... They "accidentally" published FULL ID information on all concealed carry people (I think in one county). Addresses, DOBs, License #s, and type of weapon. Think LONG AND HARD... Would you be comfortable knowing that ALL of the information about you, that is stored on your computer, in your emails, including Bank Account #s, ids, ssn, etc. Were available for sale? Along with your Cell Phone data?

            1 Reply Last reply
            0
            • K Kirk 10389821

              Agreed, but remember that for DECADES our poor practices at protecting thing (Storing passwords clear text in DBs associated with the users, shoving them in COOKIES (OMG) as opposed to some GUID), and thinking we can ADD security later. You know, like we can ADD performance Later... (Every project I've seen with that attitude suffered massive performance issues. You DESIGN for performance, you implement with care. If speed is important, then it's part of the CONTRACT and TRACING). If Security is remotely important. It's got to be part of the contract. And in todays world. Let's ASSUME that a LACK of security is a NON-STARTER. The tools are getting easier/better. But people still not understanding which is the PRIVATE KEY and which is the PUBLIC KEY is getting old. (of course calling them both key files, and sometimes .key or no extension doesn't help, but the .pub should be pretty obvious). --> We've come a VERY LONG way since the 1940s (Pre-Fortran). C, C++ (Objects), (Frameworks), and more! I have hope!

              J Offline
              J Offline
              jochance
              wrote on last edited by
              #38

              You likely have a few more grey hairs than I. But I did write some Fortran... in high school. It should be relatively easy to make something configured only for SSL work without it. It's removing complexity vs adding it. Mostly that complexity is abstracted from the developer into configuration details with libraries and frameworks handling the nitty gritty of hand shakes and certificates. In most cases, I'd guess the developer need only do configurational things and provide appropriate files. "Only"... heh. It is the case that some recent work was approached in just that way which is why I'm aware of the contextual "no don't do SSL" from Microsoft. Performance is a tricky thing. I don't disagree about designing with it in mind, but I might be wary of getting terribly caught up in "pre-optimization". It's maybe sometimes easier to see what needs the most grease once the machine is running. My gut says it tends less to be that things weren't designed with performance in mind. The modern development practice of trying to reuse every wheel possible while creating as few purpose built ones as one can get away with? We had a frame, wheels, chain, gear, and pedals so we rather efficiently glue them all together in Henry Ford fashion. But then we find we are riding a 1-speed bike up a hill. Moore's law and related meant we got way more resources than we needed and we leveraged them. Perfection took a far back seat to productivity. Regardless of where that falls on one's bad<->understandable<->good line, it does mean that a sizeable majority have never had to think very much about it at all.

              1 Reply Last reply
              0
              • H honey the codewitch

                trying to renew my cert should have taken 3 lines

                sudo systemctl stop nginx
                sudo certbot renew
                sudo systemctl start nginx

                Instead, the thing refused to stop and took over an hour to troubleshoot. And this is basically par for the course with these systems. Particularly linux distros. I'm so over it. I want to like open source, but sometimes it seems rickety. Also, why the heck do we need to encrypt all web traffic these days? Certs are a hassle I'd rather not have to deal with ever 90 days. Sorry guys. Just venting over here. Maybe some of you know why waving a dead chicken over linux never works, but I don't.

                To err is human. Fortune favors the monsters.

                C Offline
                C Offline
                Chad3F
                wrote on last edited by
                #39

                Just wondering how/if this is a linux specific problem, and not just a certbot problem (or something else)? Would the same [equivalent] steps have worked any better on Windows? Pictures of error messages, please "or it didn't happen ™". :-D Its been awhile, but I think I has a horrible experience with the certbot script and just set it up manually (using instructions similar to, if not the same as: https://ivopetkov.com/b/let-s-encrypt-on-ec2/, and never looked back. However, the referenced github repo doesn't seem to exist as-such anymore (and redirects to the certbot repo). But that does still includes the letsencrypt-auto script (for now).

                H 1 Reply Last reply
                0
                • C Chad3F

                  Just wondering how/if this is a linux specific problem, and not just a certbot problem (or something else)? Would the same [equivalent] steps have worked any better on Windows? Pictures of error messages, please "or it didn't happen ™". :-D Its been awhile, but I think I has a horrible experience with the certbot script and just set it up manually (using instructions similar to, if not the same as: https://ivopetkov.com/b/let-s-encrypt-on-ec2/, and never looked back. However, the referenced github repo doesn't seem to exist as-such anymore (and redirects to the certbot repo). But that does still includes the letsencrypt-auto script (for now).

                  H Offline
                  H Offline
                  honey the codewitch
                  wrote on last edited by
                  #40

                  It was the other day, and I've long since closed that session. I'm really not up to digging through my logs right now, especially since the problem has been resolved, at least for now.

                  To err is human. Fortune favors the monsters.

                  T 1 Reply Last reply
                  0
                  • H honey the codewitch

                    It was the other day, and I've long since closed that session. I'm really not up to digging through my logs right now, especially since the problem has been resolved, at least for now.

                    To err is human. Fortune favors the monsters.

                    T Offline
                    T Offline
                    thewazz
                    wrote on last edited by
                    #41

                    Not entirely sure this is the same kind of cert you're talking about, but have you looked into free SSL through Cloudflare? Automatic and zero work. Although, IINM, the free version is only SSL at the edge servers where everything is (eventually) cached, not SSL all the way to the host, unless you set it up that way. Edge node is fine for a lot of things.

                    H 1 Reply Last reply
                    0
                    • T thewazz

                      Not entirely sure this is the same kind of cert you're talking about, but have you looked into free SSL through Cloudflare? Automatic and zero work. Although, IINM, the free version is only SSL at the edge servers where everything is (eventually) cached, not SSL all the way to the host, unless you set it up that way. Edge node is fine for a lot of things.

                      H Offline
                      H Offline
                      honey the codewitch
                      wrote on last edited by
                      #42

                      Thanks, I'll look into that.

                      To err is human. Fortune favors the monsters.

                      T 1 Reply Last reply
                      0
                      • H honey the codewitch

                        Thanks, I'll look into that.

                        To err is human. Fortune favors the monsters.

                        T Offline
                        T Offline
                        thewazz
                        wrote on last edited by
                        #43

                        https://developers.cloudflare.com/ssl/[^]

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups