• Stars
    star
    2,807
  • Rank 16,100 (Top 0.4 %)
  • Language
    HTML
  • License
    Apache License 2.0
  • Created over 9 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿ”’ Memorable site for testing clients against bad SSL configs.

Visit badssl.com for a list of test subdomains, including:

Server Setup

Stock Ubuntu VM, DNS A records for badssl.com. and *.badssl.com. pointing to the VM.

Testing and development

  1. Follow the instructions to install Docker.

  2. Clone into the badssl repo by running git clone https://github.com/chromium/badssl.com && cd badssl.com.

  3. In order to access the various badssl subdomains locally you will need to add them to your system hosts file. Run make list-hosts and copy and paste the output into /etc/hosts.

  4. Start Docker by running make serve.

  5. You can now navigate to badssl.test in your browser, and you should see a certificate error.

  6. The badssl root certificate is at certs/sets/test/gen/crt/ca-root.crt. In order to get the rest of the badssl subdomains working, you will need to add this to your machine's list of trusted certificates.

    • On macOS, drag certs/sets/test/gen/crt/ca-root.crt into the login section of the program Keychain Access. A BadSSL Root Certificate Authority entry should appear in the list. Double-click on this entry and select "Always Trust" from the drop-down menu next to "Secure Sockets Layer (SSL)." Close the window to save your changes.

      If you are already familiar with this process, you can instead run this command:

      security add-trusted-cert -r trustRoot -p ssl \
        -k "$HOME/Library/Keychains/login.keychain" certs/sets/test/gen/crt/ca-root.crt
  7. In order to preserve the client and root certificates even after running make clean, run:

cd certs/sets/test
mkdir -p pregen/crt pregen/key
cp gen/crt/ca-root.crt pregen/crt/ca-root.crt
cp gen/crt/client.crt pregen/crt/client.crt
cp gen/crt/client-ca-root.crt pregen/crt/client-ca-root.crt
cp gen/key/ca-root.key pregen/key/ca-root.key
cp gen/key/client.key pregen/key/client.key
cp gen/key/client-ca-root.key pregen/key/client-ca-root.key

Acknowledgments

badssl.com is hosted on Google Cloud infrastructure and co-maintained by:

Several public badssl.com certificates required special issuance processes. Most certificates were graciously issued for free, thanks to help from:

Various subdomains and test pages are also implemented by external contributors.

Disclaimer

badssl.com is meant for manual testing of security UI in web clients.

Most subdomains are likely to have stable functionality, but anything could change without notice. If you would like a documented guarantee for a particular use case, please file an issue. (Alternatively, you could make a fork and host your own copy.)

badssl.com is not an official Google product. It is offered "AS-IS" and without any warranties.

More Repositories

1

chromium

The official GitHub mirror of the Chromium source
15,034
star
2

-archived-chromium

Old and archived, see https://github.com/chromium/chromium instead.
1,721
star
3

permission.site

A site to test the interaction of web APIs and browser permissions.
JavaScript
1,180
star
4

hstspreload.org

๐Ÿ”’ Chromium's HSTS preload list submission website.
Go
773
star
5

dom-distiller

Distills the DOM
Java
607
star
6

ballista

An interoperability system for the modern web.
JavaScript
537
star
7

crashpad

A crash-reporting system
C++
416
star
8

hterm

MOVED: Please use the new libapps repo on chromium.googlesource.com instead
JavaScript
338
star
9

vs-chromium

A Visual Studio extension containing a collection of tools to help contributing code to the Chromium project.
C#
279
star
10

pdfium

The PDF library used by the Chromium project
C++
254
star
11

mini_chromium

A small collection of useful low-level (โ€œbaseโ€) routines from Chromium
C++
249
star
12

web-page-replay

DEPRECATED - Use WebPageReplayGo instead:
Python
233
star
13

octane

The JavaScript Benchmark Suite for the modern web
JavaScript
178
star
14

trickuri

HTML
141
star
15

hstspreload

๐Ÿ”’๐Ÿ” A Go package to scan sites against requirements for Chromium-maintained HSTS preload list.
Go
114
star
16

suspicious-site-reporter

Extension for reporting suspicious sites to Safe Browsing.
JavaScript
89
star
17

subspace

A concept-centered standard library for C++20, enabling safer and more reliable products and a more modern feel for C++ code.; Also home of Subdoc the code-documentation generator.
C++
85
star
18

gyp

GYP is a Meta-Build system: a build system that generates other build systems.
Python
75
star
19

caterpillar

Project to investigate porting Chrome Apps to websites.
Python
56
star
20

axiom

Axiom Project
JavaScript
51
star
21

vim-codesearch

Vim integration for Chromium Codesearch at https://cs.chromium.org
Python
39
star
22

crsym

Go
34
star
23

mus-preso

Public mus presentations
JavaScript
33
star
24

chromium-ads-detection

28
star
25

content_analysis_sdk

This repository contains the SDK that DLP agents may use to become service providers for the Google Chrome Content Analysis Connector.
C++
24
star
26

codesearch-py

Python library for accessing Chromium CodeSearch via https://cs.chromium.org
Python
23
star
27

auto-zoom

Automatically zoom web pages based on their content
JavaScript
21
star
28

blink-intent-tracker

A service to automatically track blink-dev intents.
Python
20
star
29

dom-distiller-dist

Distribution packages for DOM Distiller (https://github.com/chromium/dom-distiller).
JavaScript
19
star
30

permissions.request

A polyfill for the navigator.permissions.request() API
TypeScript
14
star
31

requestautocomplete-magento-extension

Magento extension for requestAutocomplete
JavaScript
14
star
32

ozone-client

Example external ozone platform implementation offering RFB access to an ozone content shell.
Python
10
star
33

ACDC4GC

JavaScript
9
star
34

eclipse-gn

GN meta-build language support for the Eclipse IDE
Java
6
star