-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
Certificate generation #63
Comments
Hey @khan-a1, The tool will attempt to place the certificates in the home directory (here) of the user which runs it, unless the It will also attempt to create directories leading up to that location if they don't exist. CI/CD agents may have permissions issues writing to or creating directories leading to the specific location. You may want to try using the |
Thanks @iann0036, I tried using --ca-bundle and --ca-key but it does not create the files. I confirmed I am logged in as root and can create files and folders within the current folder and root home directory. With that context, when I run this command:
and these commands create the dummy directory and file
But when I run ls command I dont see the ca1.pem or ca1.key files generated, neither in local directory and nor in the root home directory or the bin directory where iamlive is running from. When I set the export AWS_CA_BUNDLE=ca1.pem and try to run AWS CLI commands, it complains about not being able to find the ca1.pem |
Hi @iann0036 , awesome tool to begin with and thanks for sharing with the community.
One thing I noticed is that when I run iamlive locally it generates the key pair in my home directory and works fine. But when I run it in a CICD pipeline in a container, it does not generate the certificates by default. I tried looking for them under the root home directory (the container runs under root user) and cant find them. Not sure why the behaviour is different. Would appreciate any pointers!
I have a work around where I download the keys on the fly but would like to avoid downloading them if possible.
Thanks
The text was updated successfully, but these errors were encountered: