Skip to content

Instantly share code, notes, and snippets.

View mahnoorfirdous's full-sized avatar

mahnoorfirdous

View GitHub Profile
@mahnoorfirdous
mahnoorfirdous / CMakeLists.txt
Created February 7, 2023 18:02 — forked from nathan-osman/CMakeLists.txt
Generates a self-signed x509 certificate using OpenSSL.
# A simple CMake script for building the application.
cmake_minimum_required(VERSION 2.8)
project(create-x509)
# Our only dependency is OpenSSL
find_package(OpenSSL REQUIRED)
include_directories(${OPENSSL_INCLUDE_DIR})
add_executable(create-x509 create-x509.cpp)