Git Product home page Git Product logo

Comments (2)

alexhaydock avatar alexhaydock commented on August 24, 2024

If you're just testing, I have an Ubuntu-based Docker image which works very well on CentOS 7. See here if you're interested.

It's mostly targeting testing rather than production, so it just drops you into a shell with eotk set up and ready to go when you run it, though it could be converted relatively easily for a production deployment.

When it comes to CentOS, it looks like the default build flags for the Red Hat provided nginx build don't include some of the modules EOTK relies on (ngx_subs_filter in particular), whereas Ubuntu's do. For a native CentOS script, we'd need to manually compile nginx with the relevant modules.

The Docker method lets you avoid installing a compiler and a bunch of dependencies on your CentOS host, which you might not want to do for various reasons.

Hopefully this helps somebody at least.


Edit: If you have Docker already installed, you can run this in a single line with:

docker run -it --cap-drop=all --name eotk ajhaydock/eotk

(With the obvious caveat that I'm strictly not advocating the use of public containers from Docker Hub for anything other than initial basic testing.)

from eotk.

tomrittervg avatar tomrittervg commented on August 24, 2024

Here's a patch that I think works...

--- a/lib.d/make-selfsigned-wildcard-ssl-cert.sh
+++ b/lib.d/make-selfsigned-wildcard-ssl-cert.sh
@@ -23,9 +23,14 @@ DAYS=30 # cert lifetime

 BREW_OPENSSL=/usr/local/opt/openssl/bin/openssl

+CENTOS_OPENSSL_CNF=/etc/pki/tls/openssl.cnf
+
 if [ -f $BREW_OPENSSL ] ; then
     OPENSSL=$BREW_OPENSSL
     OPENSSL_CONFIG=/usr/local/etc/openssl/openssl.cnf
+elif [ -f $CENTOS_OPENSSL_CNF ]; then
+    OPENSSL=openssl
+    OPENSSL_CONFIG=$CENTOS_OPENSSL_CNF
 else
     OPENSSL=openssl
     OPENSSL_CONFIG=/etc/ssl/openssl.cnf

from eotk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.