quite simple configuring https - working with openssl

THis is a quite basic question, and I am not sure why i haven't been able to solve it.

Essentially in this guide http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/configuring-https.html

I am trying to get pass by the following step: Enter the path to the OpenSSL installation:

c:\ set OpenSSL_HOME=path_to_your_OpenSSL_installation

In particular, path_to_your_OpenSSL_installation When I downloaded and install openssl the folder it is found c>OpenSSL and all its files is found inside that folder, I am not sure how to configure that path.

Another question I have is whats the point of geotrust, or verisign if you can use openssl as https for free.

Answers


Type set prog in command line window to see how similar paths look like:

d:\bat>set prog
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files

d:\bat>

So you could type either

  • set "OpenSSL_HOME=%ProgramFiles%\OpenSSL" if you run 64-bit Windows and have downloaded 64-bit OpenSSL version, or
  • set "OpenSSL_HOME=%ProgramFiles(x86)%\OpenSSL" in case of 32-bit version of windows or OpenSSL

Note an error in your guide To include OpenSSL in your path; should be as follows:

set "Path=%OpenSSL_HOME%\bin;%Path%"

However, change your PATH system environment variable no sooner than the OpenSSL_HOME variable exists and %OpenSSL_HOME%\bin points to an existing directory.

Read about set (changes made to the environment variables are valid only for the current command-line session) versus setx (set environment variables permanently).


Need Your Help

Partial mocking of class with Moq

c# .net mocking moq

I want to mock only the GetValue method of the following class, using Moq: