SlideShare ist ein Scribd-Unternehmen logo
1 von 16
Downloaden Sie, um offline zu lesen
Cygwin and OpenSSL
 Installation G id
 I    ll i Guide




Cygwin Installation
 yg
What is Cygwin?
• Cygwin is a “free” Linux-like environment for Windows. It
  consists of two parts:
   – A DLL (cygwin1.dll) which acts as a Linux API
     emulation layer providing substantial Linux API
     functionality.
   – A collection of tools which provide Linux look and feel.




                                                                3




Cygwin Installation (1/13)




   1. Browse http://www.cygwin.com/
   2. Click the button “Install or update now! ”
   3. Click the button “Run”

                                                                4
Cygwin Installation (2/13)




  Click the button “Next”.


                                                                     5




Cygwin Installation (3/13)




  Select “Install from Internet” and then click the button “Next”.


                                                                     6
Cygwin Installation (4/13)




  Select the root install directory (by default, C:cygwin) and then click the button
  “Next”.


                                                                                        7




Cygwin Installation (5/13)




  Select local package directory and then click the button “Next”.


                                                                                        8
Cygwin Installation (6/13)




  Choose the connection method. In this example, “Direct Connection” is selected
  and then the button “Next”.


                                                                                    9




Cygwin Installation (7/13)




  Choose a mirror site and the click the button “Next”.
  (In this example, we chose http://ftp.daum.net)


                                                                                   10
Cygwin Installation (8/13)




   Select packages to install (See next slide).
   By default, “setup.exe” will install only the packages in the Base category
   and their dependencies, resulting in a minimal Cygwin installation.
                                                                                 11




Cygwin Installation (9/13)

  Minimal Cygwin installation will not include many commonly used tools such
  as gcc (which you will find in the Devel category).


  So, the following packages at miminum must be selected to install
  “OpenSSL“ packages later on.


     Category | Packages
      - editor : vim (other editors available)
      - devel : gcc-core ( gcc-mingw-core by default )
                           gcc-mingw-core,
                 gcc-g++ ( gcc-mingw-g++, by default)
                make




                                                                                 12
Cygwin Installation (10/13)




  How to select the packages: if you click the “Skip” in the subtitle “New”, the
  check-up mark (V) will be shown in “Bin”.
  Select the minimum packages listed in the previous slide and then click the button
  “Next”.                                                                              13




Cygwin Installation (11/13)




  Finally, the selected packages is being installing from the download site.


                                                                                       14
Cygwin Installation (12/13)




  Cygwin setup is done.


                                                                          15




Cygwin Installation (13/13)




  Run Cygwin by double-clicking “Cygwin” icon on the Windows Desktop or
  “cygwin.bat” in the folder in which cygwin is installed.


                                                                          16
Cygwin Installation Check-up (1/3)




  $ gcc --version


                                     17




Cygwin Installation Check-up (2/3)




  $ make --version


                                     18
Cygwin Installation Check-up (3/3)




  $ vi --version


                                     19




            OpenSSL Installation
             p
What is OpenSSL?
• “Free” library providing cryptographic functions
• The important feature is the complete implementation of
  the protocols SSL and TLS




                                                        21




Algorithms implemented
• Block ciphers: DES, 3DES, DESX, CAST, RC2, RC5,
  IDEA, Blowfish
• stream cipher: RC4
         cipher
• hash: MD2, MD4, MD5, SHA-1, RIPEMD 160, MDC2
• asymmetric cryptosystems: RSA, DSA, DH
• MAC: HMAC




                                                        22
Standards implemented
• PKCS 1, PKCS 7, PKCS 8, PKCS10 and PKCS 12
• X509v3
• ASN 1 with DER encoding (n t complete)
  ASN.1 ith       nc din (not c mpl t )
• SSLv3 and TLSv1 (practically identical)




                                               23




OpenSSL Installation (1/8)




   1. Browse http://www.openssl.org/
   2. Click the button “Source ”.

                                               24
OpenSSL Installation (2/8)




  Download the latest version of OpenSSL.

                                                                                 25




OpenSSL Installation (3/8)




  Copy the downloaded OpenSSL source into “home” subfolder of the folder where
  “cygwin” is installed (eg, C:cygwinhome).


                                                                                 26
OpenSSL Installation (4/8)




  Run “cygwin” and then do the followings:
  $ cd /home
  $ tar zxvf openssl-x.x.x.tar.gz
                                             27




OpenSSL Installation (5/8)




  $ cd /home/openssl-x.x.x
  $ ./config

                                             28
OpenSSL Installation (6/8)




  $ make


                             29




OpenSSL Installation (7/8)




  $ make test


                             30
OpenSSL Installation (8/8)




  $ make install


                                                                       31




Package Structure

                             ~/openssl-x.x.x




   /apps           /crypto    /ssl         /include   ....   libssl.a
 (openssl)                                                   libcrypto.a



        • Check if the following three files show up.
             – Execution file: openssl

             – Library files: libssl.a, libcrypto.a


                                                                       32

Weitere ähnliche Inhalte

Ähnlich wie Cygwin+and+open ssl+install+guide

Tutorial1 Cygwin
Tutorial1 CygwinTutorial1 Cygwin
Tutorial1 CygwinDuaaAS
 
20111126 ns2installation-111125123338-phpapp02
20111126 ns2installation-111125123338-phpapp0220111126 ns2installation-111125123338-phpapp02
20111126 ns2installation-111125123338-phpapp02suwittosan
 
Direction of building ns2 using cygwin under windows system
Direction of building ns2 using cygwin under windows systemDirection of building ns2 using cygwin under windows system
Direction of building ns2 using cygwin under windows systemyahyaoui hamdi
 
Features supported by squid proxy server
Features supported by squid proxy serverFeatures supported by squid proxy server
Features supported by squid proxy serverProxies Rent
 
Embedded Linux Odp
Embedded Linux OdpEmbedded Linux Odp
Embedded Linux Odpghessler
 
Lukas Macura - Employing Zabbix to monitor OpenWrt (Beesip) devices with Uciprov
Lukas Macura - Employing Zabbix to monitor OpenWrt (Beesip) devices with UciprovLukas Macura - Employing Zabbix to monitor OpenWrt (Beesip) devices with Uciprov
Lukas Macura - Employing Zabbix to monitor OpenWrt (Beesip) devices with UciprovZabbix
 
NanoQplus Installation Guide - for Windows
NanoQplus Installation Guide - for WindowsNanoQplus Installation Guide - for Windows
NanoQplus Installation Guide - for WindowsJongsoo Jeong
 
Installing OpenCV 4 on Ubuntu 18.x
Installing OpenCV 4 on Ubuntu 18.xInstalling OpenCV 4 on Ubuntu 18.x
Installing OpenCV 4 on Ubuntu 18.xNader Karimi
 
Clam AntiVirus is an open source (GPL) anti-virus toolkit for UNIX, designed ...
Clam AntiVirus is an open source (GPL) anti-virus toolkit for UNIX, designed ...Clam AntiVirus is an open source (GPL) anti-virus toolkit for UNIX, designed ...
Clam AntiVirus is an open source (GPL) anti-virus toolkit for UNIX, designed ...JimmyBkk
 
テストプラン
テストプランテストプラン
テストプランstucon
 
Installing OpenCV 2.4.x with Qt
Installing OpenCV 2.4.x with QtInstalling OpenCV 2.4.x with Qt
Installing OpenCV 2.4.x with QtLuigi De Russis
 
Recipe to build open splice dds 6.3.xxx Hello World example over Qt 5.2
 Recipe to build open splice dds 6.3.xxx Hello World example over Qt 5.2   Recipe to build open splice dds 6.3.xxx Hello World example over Qt 5.2
Recipe to build open splice dds 6.3.xxx Hello World example over Qt 5.2 Adil Khan
 
Lab01 Installing Browsing Building
Lab01 Installing Browsing BuildingLab01 Installing Browsing Building
Lab01 Installing Browsing BuildingArun Kumar
 
Lab01 installing-browsing-building
Lab01 installing-browsing-buildingLab01 installing-browsing-building
Lab01 installing-browsing-buildingArun Kumar
 
Oracle11g On Fedora14
Oracle11g On Fedora14Oracle11g On Fedora14
Oracle11g On Fedora14kmsa
 
Installation of oracle 12c RAC on linux vm
Installation of oracle 12c RAC  on linux vmInstallation of oracle 12c RAC  on linux vm
Installation of oracle 12c RAC on linux vmRon Morgan
 
Installing OpenCV 2.3.1 with Qt
Installing OpenCV 2.3.1 with QtInstalling OpenCV 2.3.1 with Qt
Installing OpenCV 2.3.1 with QtLuigi De Russis
 

Ähnlich wie Cygwin+and+open ssl+install+guide (20)

Tutorial1 Cygwin
Tutorial1 CygwinTutorial1 Cygwin
Tutorial1 Cygwin
 
20111126 ns2 installation
20111126 ns2 installation20111126 ns2 installation
20111126 ns2 installation
 
20111126 ns2installation-111125123338-phpapp02
20111126 ns2installation-111125123338-phpapp0220111126 ns2installation-111125123338-phpapp02
20111126 ns2installation-111125123338-phpapp02
 
Direction of building ns2 using cygwin under windows system
Direction of building ns2 using cygwin under windows systemDirection of building ns2 using cygwin under windows system
Direction of building ns2 using cygwin under windows system
 
Features supported by squid proxy server
Features supported by squid proxy serverFeatures supported by squid proxy server
Features supported by squid proxy server
 
Embedded Linux Odp
Embedded Linux OdpEmbedded Linux Odp
Embedded Linux Odp
 
Lukas Macura - Employing Zabbix to monitor OpenWrt (Beesip) devices with Uciprov
Lukas Macura - Employing Zabbix to monitor OpenWrt (Beesip) devices with UciprovLukas Macura - Employing Zabbix to monitor OpenWrt (Beesip) devices with Uciprov
Lukas Macura - Employing Zabbix to monitor OpenWrt (Beesip) devices with Uciprov
 
NanoQplus Installation Guide - for Windows
NanoQplus Installation Guide - for WindowsNanoQplus Installation Guide - for Windows
NanoQplus Installation Guide - for Windows
 
Installing OpenCV 4 on Ubuntu 18.x
Installing OpenCV 4 on Ubuntu 18.xInstalling OpenCV 4 on Ubuntu 18.x
Installing OpenCV 4 on Ubuntu 18.x
 
Clam AntiVirus is an open source (GPL) anti-virus toolkit for UNIX, designed ...
Clam AntiVirus is an open source (GPL) anti-virus toolkit for UNIX, designed ...Clam AntiVirus is an open source (GPL) anti-virus toolkit for UNIX, designed ...
Clam AntiVirus is an open source (GPL) anti-virus toolkit for UNIX, designed ...
 
テストプラン
テストプランテストプラン
テストプラン
 
The Nix project
The Nix projectThe Nix project
The Nix project
 
Installing OpenCV 2.4.x with Qt
Installing OpenCV 2.4.x with QtInstalling OpenCV 2.4.x with Qt
Installing OpenCV 2.4.x with Qt
 
Recipe to build open splice dds 6.3.xxx Hello World example over Qt 5.2
 Recipe to build open splice dds 6.3.xxx Hello World example over Qt 5.2   Recipe to build open splice dds 6.3.xxx Hello World example over Qt 5.2
Recipe to build open splice dds 6.3.xxx Hello World example over Qt 5.2
 
Lab01 Installing Browsing Building
Lab01 Installing Browsing BuildingLab01 Installing Browsing Building
Lab01 Installing Browsing Building
 
Lab01 installing-browsing-building
Lab01 installing-browsing-buildingLab01 installing-browsing-building
Lab01 installing-browsing-building
 
Oracle11g On Fedora14
Oracle11g On Fedora14Oracle11g On Fedora14
Oracle11g On Fedora14
 
Oracle11g on fedora14
Oracle11g on fedora14Oracle11g on fedora14
Oracle11g on fedora14
 
Installation of oracle 12c RAC on linux vm
Installation of oracle 12c RAC  on linux vmInstallation of oracle 12c RAC  on linux vm
Installation of oracle 12c RAC on linux vm
 
Installing OpenCV 2.3.1 with Qt
Installing OpenCV 2.3.1 with QtInstalling OpenCV 2.3.1 with Qt
Installing OpenCV 2.3.1 with Qt
 

Kürzlich hochgeladen

Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 

Kürzlich hochgeladen (20)

Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 

Cygwin+and+open ssl+install+guide

  • 1. Cygwin and OpenSSL Installation G id I ll i Guide Cygwin Installation yg
  • 2. What is Cygwin? • Cygwin is a “free” Linux-like environment for Windows. It consists of two parts: – A DLL (cygwin1.dll) which acts as a Linux API emulation layer providing substantial Linux API functionality. – A collection of tools which provide Linux look and feel. 3 Cygwin Installation (1/13) 1. Browse http://www.cygwin.com/ 2. Click the button “Install or update now! ” 3. Click the button “Run” 4
  • 3. Cygwin Installation (2/13) Click the button “Next”. 5 Cygwin Installation (3/13) Select “Install from Internet” and then click the button “Next”. 6
  • 4. Cygwin Installation (4/13) Select the root install directory (by default, C:cygwin) and then click the button “Next”. 7 Cygwin Installation (5/13) Select local package directory and then click the button “Next”. 8
  • 5. Cygwin Installation (6/13) Choose the connection method. In this example, “Direct Connection” is selected and then the button “Next”. 9 Cygwin Installation (7/13) Choose a mirror site and the click the button “Next”. (In this example, we chose http://ftp.daum.net) 10
  • 6. Cygwin Installation (8/13) Select packages to install (See next slide). By default, “setup.exe” will install only the packages in the Base category and their dependencies, resulting in a minimal Cygwin installation. 11 Cygwin Installation (9/13) Minimal Cygwin installation will not include many commonly used tools such as gcc (which you will find in the Devel category). So, the following packages at miminum must be selected to install “OpenSSL“ packages later on. Category | Packages - editor : vim (other editors available) - devel : gcc-core ( gcc-mingw-core by default ) gcc-mingw-core, gcc-g++ ( gcc-mingw-g++, by default) make 12
  • 7. Cygwin Installation (10/13) How to select the packages: if you click the “Skip” in the subtitle “New”, the check-up mark (V) will be shown in “Bin”. Select the minimum packages listed in the previous slide and then click the button “Next”. 13 Cygwin Installation (11/13) Finally, the selected packages is being installing from the download site. 14
  • 8. Cygwin Installation (12/13) Cygwin setup is done. 15 Cygwin Installation (13/13) Run Cygwin by double-clicking “Cygwin” icon on the Windows Desktop or “cygwin.bat” in the folder in which cygwin is installed. 16
  • 9. Cygwin Installation Check-up (1/3) $ gcc --version 17 Cygwin Installation Check-up (2/3) $ make --version 18
  • 10. Cygwin Installation Check-up (3/3) $ vi --version 19 OpenSSL Installation p
  • 11. What is OpenSSL? • “Free” library providing cryptographic functions • The important feature is the complete implementation of the protocols SSL and TLS 21 Algorithms implemented • Block ciphers: DES, 3DES, DESX, CAST, RC2, RC5, IDEA, Blowfish • stream cipher: RC4 cipher • hash: MD2, MD4, MD5, SHA-1, RIPEMD 160, MDC2 • asymmetric cryptosystems: RSA, DSA, DH • MAC: HMAC 22
  • 12. Standards implemented • PKCS 1, PKCS 7, PKCS 8, PKCS10 and PKCS 12 • X509v3 • ASN 1 with DER encoding (n t complete) ASN.1 ith nc din (not c mpl t ) • SSLv3 and TLSv1 (practically identical) 23 OpenSSL Installation (1/8) 1. Browse http://www.openssl.org/ 2. Click the button “Source ”. 24
  • 13. OpenSSL Installation (2/8) Download the latest version of OpenSSL. 25 OpenSSL Installation (3/8) Copy the downloaded OpenSSL source into “home” subfolder of the folder where “cygwin” is installed (eg, C:cygwinhome). 26
  • 14. OpenSSL Installation (4/8) Run “cygwin” and then do the followings: $ cd /home $ tar zxvf openssl-x.x.x.tar.gz 27 OpenSSL Installation (5/8) $ cd /home/openssl-x.x.x $ ./config 28
  • 15. OpenSSL Installation (6/8) $ make 29 OpenSSL Installation (7/8) $ make test 30
  • 16. OpenSSL Installation (8/8) $ make install 31 Package Structure ~/openssl-x.x.x /apps /crypto /ssl /include .... libssl.a (openssl) libcrypto.a • Check if the following three files show up. – Execution file: openssl – Library files: libssl.a, libcrypto.a 32