xref: /openbsd-src/regress/usr.bin/openssl/test_server.sh (revision dbacfe20a2d2fade50db4ecc5e78ffb3cd073351)
1#!/bin/sh
2#	$OpenBSD: test_server.sh,v 1.3 2023/07/03 05:31:56 beck Exp $
3
4echo This starts a tls1 mode server using the DSA certificate in ./server.pem
5echo Run ./testclient.sh in another window and type at it, you should
6echo see the results of the ssl negotiation, and stuff you type in the client
7echo should echo in this window
8echo
9echo
10${OPENSSL:-/usr/bin/openssl} s_server -key testdsa.key -cert testdsa.pem
11