Skip to content

Instantly share code, notes, and snippets.

View ozanmuyes's full-sized avatar

Ozan Müyesseroğlu ozanmuyes

View GitHub Profile
@ozanmuyes
ozanmuyes / openssl.MD
Created July 24, 2019 11:48 — forked from jchandra74/openssl.MD
HOWTO: Create Your Own Self-Signed Certificate with Subject Alternative Names Using OpenSSL in Ubuntu Bash for Window

HOWTO: Create Your Own Self-Signed Certificate with Subject Alternative Names Using OpenSSL in Ubuntu Bash for Window

Overview

My main development workstation is a Windows 10 machine, so we'll approach this from that viewpoint.

Recently, Google Chrome started giving me a warning when I open a site that uses https and self-signed certificate on my local development machine due to some SSL certificate issues like the one below:

Self-Signed SSL Issue in Chrome

@ozanmuyes
ozanmuyes / hash_table.c
Last active May 2, 2016 03:36 — forked from tonious/hash.c
A quick hashtable implementation in c.
#define _XOPEN_SOURCE 500 /* Enable certain library functions (strdup) on linux. See feature_test_macros(7) */
#include <stdlib.h>
#include <stdio.h>
#include <limits.h>
#include <string.h>
#include "hash_table.h"
// TODO Write necessary function from http://apr.apache.org/docs/apr/1.4/group__apr__hash.html