Hello!
I am trying to setup ssl on my Solace Pub/Sub+ instance on aws. The instructions say you need to use sftp or scp to transfer the certificate(s) from another machine. The only way I seem to be able to authenticate with external machines for sftp/scp is via public ssh key - but, the only ways to get a public key into the container is to copy one from outside the container or generate it inside the container - neither of which, do I seem able to do (i.e. the cli file management methods support copying files around that are already inside the container or getting them from outside via sftp/scp and there isn’t one for creating an authorized_keys file that I could find, which would be the other option). This feels like a chicken and the egg problem, but I am confident that you would not leave this feature in a state like that, so I am sure I am missing something. It doesn’t help that I am fairly green when it comes to dealing with certificates in general. Is there a way to transfer files from the host into the container that doesn’t involve sftp/scp or to generate the public key from inside the container? Can someone point me to what I might be missing?
For what it’s worth, I have tried running the copy command as “copy sftp://username@mysftpserver/filepath .” and get the expected “Permission denied” response back. I do have the public key setup on the host machine and am able to get the file in question from the host machine using the standard sftp command - so it seems like everything else is setup properly, there just isn’t a public key inside the container that the solace cli version of the copy sftp command can use.
Thank you!