Giter Site home page Giter Site logo

Comments (6)

sphen13 avatar sphen13 commented on September 21, 2024

Ah great. Yeah originally I had the ssl certs passed to a different location but then I simplified it later on. This is for sure a bug. Thanks for the suggestions.

from bluesky.

sphen13 avatar sphen13 commented on September 21, 2024

Ugh i feel like i have been staring at this. The way we are checking right now is not too slick - just seeing if there is anything in that folder and assuming its all good if there is something. we really should check for each and every one and rekey if necessary... you think?

from bluesky.

sphen13 avatar sphen13 commented on September 21, 2024

@grigutis not sure if you are willing try try - but i think this should work appropriately
798eaae

full file: https://github.com/logicnow/BlueSky/blob/798eaae05377b70718f65bbaaa94e41ec6645d0b/Server/client-config.sh

from bluesky.

grigutis avatar grigutis commented on September 21, 2024

Thanks Stephen! Yes, I'm willing to test it in a separate container, but how would I specify the docker_clientconfig_fix branch in my initial docker run command? It doesn't look like that's possible from my searching. Is there some other way to replace that file in the container before the initial run?

btw, I worked around this in the meantime by using symbolic links to the cert/key instead of using copies of the actual files.

from bluesky.

sphen13 avatar sphen13 commented on September 21, 2024

thanks @grigutis - i have pushed a new build to docker hub. you will need to refer to it as sphen/bluesky:dev in your docker run command. if you have ever pulled dev before, pull it first: docker pull sphen/bluesky:dev

from bluesky.

grigutis avatar grigutis commented on September 21, 2024

This looks good to me. All the certs are now created even with my existing SSL cert/key:

root@a6160b121525:/certs# ls -al
total 56
drwxrwxrwx 2 root     root 4096 Sep 16 09:14 .
drwxr-xr-x 1 root     root 4096 Sep 16 09:14 ..
-rw-r--r-- 1 root     root 1708 Sep 16 09:14 blueskyadmin.key
-rw-r--r-- 1 root     root 1042 Sep 16 09:14 blueskyadmin.pub
-rw-r--r-- 1 root     root 1704 Sep 16 09:14 blueskyclient.key
-rw-r--r-- 1 root     root 1042 Sep 16 09:14 blueskyclient.pub
-rw------- 1 www-data root 1675 Sep 16 09:14 blueskyd
-rw-r--r-- 1 root     root  407 Sep 16 09:14 blueskyd.pub
-rw-r--r-- 1 root     root 3830 Sep 16 09:13 fullchain.pem
-rw-r--r-- 1 root     root 1704 Sep 16 09:12 privkey.pem
-rw------- 1 root     root  399 Sep 16 09:14 ssh_host_ed25519_key
-rw-r--r-- 1 root     root   91 Sep 16 09:14 ssh_host_ed25519_key.pub
-rw------- 1 root     root 1675 Sep 16 09:14 ssh_host_rsa_key
-rw-r--r-- 1 root     root  391 Sep 16 09:14 ssh_host_rsa_key.pub

👍

from bluesky.

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.