SlideShare uma empresa Scribd logo
1 de 16
Baixar para ler offline
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

Mais conteúdo relacionado

Destaque

What Makes Great Infographics
What Makes Great InfographicsWhat Makes Great Infographics
What Makes Great InfographicsSlideShare
 
STOP! VIEW THIS! 10-Step Checklist When Uploading to Slideshare
STOP! VIEW THIS! 10-Step Checklist When Uploading to SlideshareSTOP! VIEW THIS! 10-Step Checklist When Uploading to Slideshare
STOP! VIEW THIS! 10-Step Checklist When Uploading to SlideshareEmpowered Presentations
 
Masters of SlideShare
Masters of SlideShareMasters of SlideShare
Masters of SlideShareKapost
 
How To Get More From SlideShare - Super-Simple Tips For Content Marketing
How To Get More From SlideShare - Super-Simple Tips For Content MarketingHow To Get More From SlideShare - Super-Simple Tips For Content Marketing
How To Get More From SlideShare - Super-Simple Tips For Content MarketingContent Marketing Institute
 
10 Ways to Win at SlideShare SEO & Presentation Optimization
10 Ways to Win at SlideShare SEO & Presentation Optimization10 Ways to Win at SlideShare SEO & Presentation Optimization
10 Ways to Win at SlideShare SEO & Presentation OptimizationOneupweb
 
How to Make Awesome SlideShares: Tips & Tricks
How to Make Awesome SlideShares: Tips & TricksHow to Make Awesome SlideShares: Tips & Tricks
How to Make Awesome SlideShares: Tips & TricksSlideShare
 

Destaque (7)

What Makes Great Infographics
What Makes Great InfographicsWhat Makes Great Infographics
What Makes Great Infographics
 
You Suck At PowerPoint!
You Suck At PowerPoint!You Suck At PowerPoint!
You Suck At PowerPoint!
 
STOP! VIEW THIS! 10-Step Checklist When Uploading to Slideshare
STOP! VIEW THIS! 10-Step Checklist When Uploading to SlideshareSTOP! VIEW THIS! 10-Step Checklist When Uploading to Slideshare
STOP! VIEW THIS! 10-Step Checklist When Uploading to Slideshare
 
Masters of SlideShare
Masters of SlideShareMasters of SlideShare
Masters of SlideShare
 
How To Get More From SlideShare - Super-Simple Tips For Content Marketing
How To Get More From SlideShare - Super-Simple Tips For Content MarketingHow To Get More From SlideShare - Super-Simple Tips For Content Marketing
How To Get More From SlideShare - Super-Simple Tips For Content Marketing
 
10 Ways to Win at SlideShare SEO & Presentation Optimization
10 Ways to Win at SlideShare SEO & Presentation Optimization10 Ways to Win at SlideShare SEO & Presentation Optimization
10 Ways to Win at SlideShare SEO & Presentation Optimization
 
How to Make Awesome SlideShares: Tips & Tricks
How to Make Awesome SlideShares: Tips & TricksHow to Make Awesome SlideShares: Tips & Tricks
How to Make Awesome SlideShares: Tips & Tricks
 

Semelhante a 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
 

Semelhante a 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
 

Último

[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...AliaaTarek5
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesThousandEyes
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Scott Andery
 

Último (20)

[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
 

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