UNCLASSIFIED

Skip to content
Snippets Groups Projects
Commit feddbbb0 authored by Adam Pankow's avatar Adam Pankow :satellite:
Browse files

Add missing CAC error page

parent e7bbdca2
1 merge request!117Add missing CAC error page
......@@ -56,6 +56,10 @@ set_up_ssl:
- defaults:
reset_user_password: {{ pillar['reset_user_password'] }}
/var/www/html/missingcert.html:
file.managed:
- source: salt://apps/public/register/files/missingcert.html
/etc/nginx/sites-enabled/default:
file.managed:
- source: salt://apps/public/register/files/default
......
......@@ -13,6 +13,8 @@ server {
index index.html index.htm index.nginx-debian.html index.php;
server_name register.cybbh.space;
error_page 496 /missingcert.html;
location / {
try_files $uri $uri/ =404;
......
<html>
<head>
<title>CAC Not Found</title>
</head>
<body>
Your CAC certificate was not presented to this site.
<br/>
<br/>
This could be for a variety of reasons. Please verify:
<li>Your CAC reader is functioning properly</li>
<li>Your CAC is inserted</li>
<li>You did <strong>NOT</strong> visit the site <strong>BEFORE</strong> your CAC was inserted</li>
<br/>
After verifying the above please close out <strong>ALL</strong> browser windows and attempt visiting the site again.
<br/>
<br/>
-VTA Team
</body>
</html>
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment