I am trying to configuring HTTPS based on this tutorial:
Configuring HTTPS for your Elastic Beanstalk Environment
I am stuck at the following section:
To set the OpenSSL_HOME variable
Enter the path to the OpenSSL installation:
c:\ set OpenSSL_HOME=path_to_your_OpenSSL_installation
My openSSL is installed in c:\OpenSSL
, so would I write set OpenSSL_HOME=C:\ OpenSSL
?
Do I enter such command in Command Prompt?
Finally this step:
To include OpenSSL in your path
Open a terminal or command interface and enter the appropriate command for your operating system:
c:\ set Path=OpenSSL_HOME\bin;%Path%
My %Path%
here would be what?
Yes, but without the space after
C:\
:You can. Do note, however, that with this approach, you would be modifying the
OpenSSL_HOME
environment variable for that particular command window only, and it would be accessible only to processes that are run from that same window. As soon as you close the window, your variable disappears.If you need to make it persistent, especially through reboots, you have to configure the OS's global environment instead. On Windows, right-click on My Computer, go to Properties, Advanced system settings, Environment Variables, and add a new entry for your variable.
That is an existing environment variable. You are modifying the existing
Path
, so by including%Path%
to the end of your assignment, you preserve the existingPath
so that existing paths can still be accessed.Fir, note that the example in the documentation is wrong. It should be this instead:
With that said, lets say for example that
Path
already contains a value ofC:\Windows\;etc
. After the assignment, the newPath
will beC:\OpenSSL\bin;C:\Windows\;etc