Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

start.sh new_server & new_client explanation #124

Open
Jeredriq opened this issue Oct 13, 2022 · 0 comments
Open

start.sh new_server & new_client explanation #124

Jeredriq opened this issue Oct 13, 2022 · 0 comments

Comments

@Jeredriq
Copy link

I don't really understand what is happening in new_server and new_client. It would be great if there was some explanation documentation about the sertificates.

I really don't understand what is going on here:
openssl x509 -req -days 3650 -in "${SERVER_DIR}/server.csr" -CAcreateserial \ -extfile <(sed "s/\$ENV::SERVER_NAME/${SERVER_NAME}/g" "${CWD}/certs/server.ext") \ -CAkey "${SERVER_DIR}/ca.key" -CA "${SERVER_DIR}/server_ca.pem" -out "${SERVER_DIR}/server.crt" cat "${SERVER_DIR}/server.crt" "${SERVER_DIR}/server_ca.pem" > "${SERVER_DIR}/server.chain.pem"

What are the uses for server.chain.pem and deviceid.chain.pem files. Why are we creating a serial? I know it is not an issue but a demand for explanation in ReadMe file. Thanks for the help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant