Forked from zulhfreelancer/change-openssl-version.md
Created
November 17, 2023 09:09
-
-
Save kkpan11/b821f5647c1ad119188f974ae941f1df to your computer and use it in GitHub Desktop.
Revisions
-
zulhfreelancer revised this gist
Apr 24, 2020 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,7 @@ ## How to switch OpenSSL version on Mac using Homebrew? Scenario: you have both OpenSSL 1.0 and 1.1 installed (using Brew) in your OSX system and you want to switch the current active version without removing other versions that already installed. Here is how to do it. ### Step 1 - List all OpenSSL versions ``` -
zulhfreelancer revised this gist
Apr 24, 2020 . 1 changed file with 14 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -15,12 +15,25 @@ drwxr-xr-x 13 zulhilmi staff 442 Apr 21 04:01 1.1.1f drwxr-xr-x 13 zulhilmi staff 442 Apr 24 15:41 1.1.1g ``` ### Step 2a - Switching to version 1.0 ``` $ brew switch openssl 1.0.2t ``` ### Step 2b - Switching to version 1.1 ``` $ brew switch [email protected] 1.1.1f ``` ### Step 3 - Check new version ``` $ openssl version OpenSSL 1.1.1f 31 Mar 2020 ``` Reference: - https://stackoverflow.com/a/59184347/1577357 -
zulhfreelancer revised this gist
Apr 24, 2020 . 1 changed file with 0 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,5 @@ ## How to switch OpenSSL version on Mac using Homebrew? ### Step 1 - List all OpenSSL versions ``` -
zulhfreelancer revised this gist
Apr 24, 2020 . 1 changed file with 6 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,8 @@ ## How to switch OpenSSL version on Mac using Homebrew? --- ### Step 1 - List all OpenSSL versions ``` $ ls -al /usr/local/Cellar/openssl* @@ -13,7 +17,7 @@ drwxr-xr-x 13 zulhilmi staff 442 Apr 21 04:01 1.1.1f drwxr-xr-x 13 zulhilmi staff 442 Apr 24 15:41 1.1.1g ``` ### Step 2 - Switch ``` $ brew switch openssl 1.0.2t -
zulhfreelancer created this gist
Apr 24, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,24 @@ ## Step 1 - List all OpenSSL versions ``` $ ls -al /usr/local/Cellar/openssl* /usr/local/Cellar/openssl: total 0 drwxr-xr-x 13 zulhilmi staff 442 Apr 21 04:31 1.0.2t /usr/local/Cellar/[email protected]: total 0 drwxr-xr-x 13 zulhilmi staff 442 Apr 21 04:01 1.1.1f drwxr-xr-x 13 zulhilmi staff 442 Apr 24 15:41 1.1.1g ``` ## Step 2 - Switch ``` $ brew switch openssl 1.0.2t ``` Reference: - https://stackoverflow.com/a/59184347/1577357