Skip to content

sprite-neu/NEUQuziMaker

 
 

Repository files navigation

NEU Quzi Maker

Online Quiz Generator

demo image

SSL Setup

The app depends on client's SSL certificate for authentication and logging the answers, to generate the clients key and certificate:

$ openssl genrsa -out $EMAIL $KEY_SIZE
$ openssl req -new -key $EMAIL -subj "/C=US/ST=MA/L=Boston/O=NEU/OU=$SEMESTER/\
CN=$EMAIL/emailAddress=$EMAIL" -out $EMAIL.csr
$ openssl ca -in $EMAIL.csr -cert $CA_crt -keyfile $CA_key -out $EMAIL.crt
$ openssl pkcs12 -export -clcerts -in $EMAIL.crt -inkey $EMAIL.key -out $EMAIL.p12\ 
-passout pass:$PASSWORD

To verify and pass the client's certificate fields to the app, add the following to the apache config file:

SSLVerifyClient require
SSLVerifyDepth 2
SSLOptions +StdEnvVars

Quiz Sample File

#Comment, can be the subject of test
Q) Questions should start with Q?
C) Each choice starts with C, each choice can have a feedback
FEED) This is a feedback based on your choice.
ANS) The answer should start with ANS. You can have multiple answers.
FEED) Good job!
C) Choice 2.
C) Choice 3.

About

Online Quiz Generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 86.3%
  • CSS 13.7%