background preloader

How to create a self-signed Certificate

How to create a self-signed Certificate
Overview The following is an extremely simplified view of how SSL is implemented and what part the certificate plays in the entire process. Normal web traffic is sent unencrypted over the Internet. That is, anyone with access to the right tools can snoop all of that traffic. Step 1: Generate a Private Key The openssl toolkit is used to generate an RSA Private Key and CSR (Certificate Signing Request). Step 2: Generate a CSR (Certificate Signing Request) Once the private key is generated a Certificate Signing Request can be generated. Step 3: Remove Passphrase from Key One unfortunate side-effect of the pass-phrased private key is that Apache will ask for the pass-phrase each time the web server is started. Step 4: Generating a Self-Signed Certificate At this point you will need to generate a self-signed certificate because you either don't plan on having your certificate signed by a CA, or you wish to test your new SSL implementation while the CA is signing your certificate. Related:  Software dev

How To Set Up an OpenVPN Server on Ubuntu 14.04 Introduction Want to access the Internet safely and securely from your smartphone or laptop when connected to an untrusted network such as the WiFi of a hotel or coffee shop? A Virtual Private Network (VPN) allows you to traverse untrusted networks privately and securely to your DigitalOcean Droplet as if you were on a secure and private network. The traffic emerges from the Droplet and continues its journey to the destination. When combined with HTTPS connections, this setup allows you to secure your wireless logins and transactions. You can circumvent geographical restrictions and censorship, and shield your location and unencrypted HTTP traffic from the untrusted network. OpenVPN is a full-featured open source Secure Socket Layer (SSL) VPN solution that accommodates a wide range of configurations. Note: OpenVPN can be installed automatically on your Droplet by adding this script to its User Data when launching it. Prerequisites Step 1 — Install and Configure OpenVPN's Server Environment

State of the JavaScript Landscape: A Map for Newcomers If you have previous programming experience but are a newcomer to frontend JavaScript development, the array of jargon and tools can be confusing. Without getting bogged down in detailed discussion, let’s take a general survey of the current “JavaScript landscape”. This should orient you sufficiently to start your journey into frontend development. Key terms are bolded. If you want to skip ahead to a repository with working boilerplate, I've put together a Github repository with my recommendations. How does client-side JavaScript work, and why use it? Key terms: DOM (Document Object Model), JavaScript, async, AJAX To write effective frontend code, you need a basic understanding of how HTML, CSS, and JavaScript fit together to create web pages. When the client (usually a browser) accesses an HTML page, it downloads it, parses it, and then uses it to construct the DOM (Document Object Model). How is JavaScript included in your page? JavaScript execution blocks DOM construction. It uses:

Operating Systems: Three Easy Pieces Blog: Why Textbooks Should Be Free Quick: Free Book Chapters - Buy Hardcover - Buy Softcover - Buy PDF - Buy from EU - Buy in India - Buy T-shirt - Donate - For Teachers - Homework - Projects - News - Acknowledgements - Other Books Welcome to Operating Systems: Three Easy Pieces (now version 1.00 -- see book news for details), a free online operating systems book! This book is and will always be free in PDF form, as seen below. Can't bear to go out in public without an operating system? Donate: By popular demand, another way to support this site and its contents: donate! Another way to help the book out: cite it! Operating Systems: Three Easy Pieces Remzi H. And now, the free online form of the book, in chapter-by-chapter form (now with chapter numbers!)

10 Best AngularJS Tutorials for Developers AngularJS is a very popular and powerful JavaScript MVC framework. AngularJs javascript framework is used in Single Page Application projects which extends HTML DOM with additional attributes and makes it more responsive to user actions. As internet is full of free resources , in this post we have a list of 10 best angularjs tutorials for developers who wants to learn and improve the skills on AngularJs. 1. AngularJS – CodeAcademy 2. 3. 4. 7. 8. 9. 10. World Wide Web Consortium (W3C) HTML 5.1 Nightly This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at The management and production of this document follows a relatively complex setup. Details are provided as part of the introduction. This document was published by the HTML Working Group as a Working Draft. Publication as a Working Draft does not imply endorsement by the W3C Membership. This document was produced by a group operating under the 5 February 2004 W3C Patent Policy.

Design for thread safety Six months ago I began a series of articles about designing classes and objects. In this month's Design Techniques column, I'll continue that series by looking at design principles that concern thread safety. This article tells you what thread safety is, why you need it, when you need it, and how to go about getting it. What is thread safety? Thread safety simply means that the fields of an object or class always maintain a valid state, as observed by other objects and classes, even when used concurrently by multiple threads. One of the first guidelines I proposed in this column (see "Designing object initialization") is that you should design classes such that objects maintain a valid state, from the beginning of their lifetimes to the end. Multiple threads can spell trouble for your object because often, while a method is in the process of executing, the state of your object can be temporarily invalid. Why worry about thread safety? RGBColor #1: Ready for a single thread

Patterns of Enterprise Application Architecture - Martin Fowler