91tv国产成人福利_韩国精品美女www爽爽爽视频_五月婷婷中文字幕_99热这里只有精品免费_国产视频自拍一区_日本久久一级片_成年人小视频网站_另类专区欧美制服同性_国产精品一区二区男女羞羞无遮挡_日本一区二区三区免费看_少妇一级淫片免费看_91po在线观看91精品国产性色

How to Make U.S Government PIV/CAC Authentication Work

How to Make U.S Government PIV/CAC Authentication Work


Jun 29, 2022
by frz
in DevOps

If you’re building a website for the U.S. Government, you may be tasked with making “single sign on” (SSO) work with the U.S. Government "Personal Identity Verification" (PIV) Credential cards. PIV cards are used government-wide to control access to Federally Controlled Facilities and information systems at the appropriate security level. Common Access Cards or “CACs ” are a specific subset of PIV cards used by the U.S. Department of Defense.  

Interestingly, while PIV authentication is a requirement for FedRAMP certification, there are a number of FedRAMP certified products that currently do NOT provide PIV authentication out of the box. Extensive integration work by your IT team would be required to integrate these SaaS products into your centralized access system. Do your homework if you are going to purchase a SaaS product that is FedRAMP compliant and make sure you can actually enforce login via PIV. 

We had to tackle PIV/CAC authentication with Concrete CMS for a large number of U.S. Army websites and Intranets. We found the challenge to be remarkably complicated since there isn’t a lot of documentation or background information out there. We’re sharing what we learned here in an effort to save fellow developers some of the time and headaches we endured. That said, if you’re building a website or intranet using Concrete CMS for the U.S Government, you should strongly consider buying our “PIV/CAC Authentication SSO Provider” - a PIV/CAC SSO authentication portal which handles all of this for you and manages access across multiple connected Concrete sites. That hard sell out of the way, let’s get into the details. 

What is a PIV/CAC Card for?

It looks like a drivers license and it's ubiquitous if you’re doing government work. It identifies what security clearance the holder has been granted. It’s got your picture on there and a bunch of digital information embedded on it. You can use it to sign PDF documents for the government with a “digital government signature.” You’ll need it to access your government email and other SaaS systems used by the Government like Microsoft Teams and Concrete CMS. You’ll need it at the gate of any DoD military installation to be allowed in. You could even use it as a Real ID for airplane travel, although flashing around your government ID is considered a no-no as it makes you a target. 

cac-card.png

Source

How do you get a CAC Card?

On your own, you don’t. You’ll have to be sponsored by a government agency to get one, and if that’s going to happen, chances are you’ll already know about it. Maybe you’re applying for a job at a big contracting firm that does government work like Booz Allen or Accenture. Maybe your company has just won a contract with the government. Regardless, this isn’t a thing you can really prepare for or proactively get ‘just in case.’ If you need one, you’ll be told. 

You will have to pass a background check for the level of clearance you will be granted. A basic CAC card does not imply a particularly high level of security clearance by default. Don’t freak out, the government works with literally millions of people and suppliers, none of them are perfect, and having a CAC card does not mean you’re a Jason Bourne. Try not to owe any money to Russian gangsters, have ties to extremist religious groups, or have a raging drug problem and you’re likely going to pass the background check just fine. You’ll have to fill out forms and provide fingerprints. You will also have to provide proof of U.S. Citizenship. 

Once the background check has cleared you’ll have to go to a physical location to get your CAC card. Here in Portland, Oregon the best spot is the U.S. Army Corps of Engineers office downtown, but there’s plenty of spots that can issue them. This site will help with details. Remember to bring two pieces of government issued ID (driver’s license, passport) or you won’t be given your CAC/PIV card

What is actually going on inside a PIV/CAC card.

Inside is at least one government issued client side certificate (and sometimes multiple ones for different uses) that is signed by a root certificate the Government Agency (like the DOD) maintains. A key code (typically 6 digits) is uniquely associated with each PIV card that must be entered correctly by the user for access to be granted. When you put your card in a PIV/CAC reader on a computer and visit a government website (or system) that requires PIV/CAC authentication, you’ll be asked to pick one of the certificates on your card and enter the correct pin in order to access that site (or system). 

Making a Client Computer Support a PIV/CAC Card

Just plugging your USB card reader into any old computer with a CAC card in it isn’t going to work. That computer will need some certificates installed on it, and depending on the computer that might be a pretty interesting adventure. 

The simplest answer is to be issued a U.S. Government Agency issued computer with an internal USB card reader managed by the Agency IT department. You’re not going to be given a brand new MacBook Air, but it will be someone else’s problem when it doesn’t work - and that might be a welcome relief.

If you want to use your own machine, that's totally fine. You’ll need to buy a PIV/CAC smart card reader for whatever type of USB port you have. You’ll also need to manually install a bunch of certificates before anything will work. This step is surprisingly complex and we only got through thanks to the wisdom at https://militarycac.com/. Thank you Michael J. Danberry for building and maintaining that website. Its aesthetic is straight from the 90’s and its spirit of information sharing is the epitome of everything that made the web great back in the day. (Michael, if you ever get tired of editing HTML files by hand, we’d love to help rebuild that site with Concrete CMS.) 

military cac.png

Source

Alternatively, there were some applications you could find out there that installed these certs for you. It’s been a while, but check out Centrify, now Delinea.

Your new PIV/CAC card will need to be activated. You’ll have to visit the RAPIDS Self-Service CACF Maintenance website (https://www.dmdc.osd.mil/self_service) and go through the steps there before your card will work on any computer. 

Don’t get locked out!

A quick word to the wise, it’s super easy to get your CAC/PIV card locked. Enter your pin wrong 3 times in a row, and that card is now indefinitely locked. 

If you have your PIV/CAC inserted when your computer starts up, read your login form carefully. It’s quite likely the password your machine is asking you for on login is actually your PIV/CAC pin code. This is a really good way to accidentally lock your card by entering your machine’s administrator password instead of your pin code.

Unlocking a PIV/CAC requires you to go to a physical location somewhere (perhaps many hours away, with long wait times) and sheepishly explain yourself to a government IT official. While it’s always fun to make new friends, this is not the best use of anyone's time. 

Building PIV/CAC Capability into your Product

This information is all pretty high level, we’re assuming you have a solid understanding of authentication and how to build single sign on solutions in general. Here’s some key pieces of information and big ideas that will absolutely save you days of pain. 

You will have to map the CAC/PIV certificate's subject DN to the individual’s identity inside your system. You’ll want to make some user model within your app and then bind the certificate's subject DN to that user. Think of the card as a number referencing the access level of this “identity.” It’s still up to you to build a system that tracks whatever user information you actually need like an email, name, or whatever and to manage permissions and access the user is permitted to have. Your application should have its own policy for what to do with a new user. Can people sign up through a user flow, or are they given accounts by an administrator through some other process?

Generally when it comes to storing PII you should be thinking ‘less is more.’ Different Government Agencies have different rules for PII. FedRAMP moderate allows storage of PII but your Agency might have different internal compliance rules. The DoD, for example, has an “impact level” system with restrictions about what can be stored where. The DoD’s “moderate” system does not necessarily map to FedRAMPs “moderate”. We could write a whole separate article on how to navigate their “Information Type Surveys”, Privacy Impact Analysis, DoD SSP Addendums etc. Our advice is to resist the urge to collect information unless there’s a compelling business case for capturing and securely managing that information. 

The CAC/PIV card plus pin provides Auth N (authentication.) Just because someone has a valid CAC doesn’t mean they should get access to your application, so you’ll need to be able to lock users out locally too. CAC/PIV cards do NOT provide Auth Z (authorization) for whatever system you are building. In other words, your system will have to include roles for who is allowed to access what. You might want to make your roles customizable like Concrete’s PIV portal so that roles can be configured for different client’s needs. You will have to provide the capability for your government client administrators to add users and remove users to different roles for your system.

Your web server will need to establish a connection with the client. This means you can’t mindlessly use a typical CDN or Application load balancer because the client needs to connect directly to the server without being decrypted along the way. We used a classic AWS network load balancer and configured it to pass encrypted traffic to the final authentication server.

Your authentication web server will also need to be configured to both require client side certificates and to validate the certificates against the appropriate root certificate like the DoD root certificate available here: https://public.cyber.mil/pki-pke/pkipke-document-library/

The web server manages validating the certificates against the root certificate, but we still need to check for whether the certificate has been revoked. When someone’s PIV/CAC is revoked, a revocation certificate is added to the Certificate Revocation List (CRL). As a system administrator you routinely pull all relevant CRLs and update your server to check those, it's your responsibility to ensure that users with a revoked certificate lose access to your system as soon as possible.

There are OSCP endpoints you can connect to as an authoritative server instead of using CRL files, but that means your authentication relies on someone else’s service for which you have no SLA. Here’s a starting point https://public.cyber.mil/pki-pke/admins/.

When someone tries to navigate to your authentication endpoint, the SSL connection handshake will force them to enter their pin and select a valid certificate which will be included in the request. If the certificate is valid, the server will be able to inspect the "subject distinguished name" (subject DN) in order to match the certificate with a user. If the certificate is invalid, a connection will not be established and the user will see an error in their browser.

You will then need to check to see if you’ve got this subject DN bound to a user account in your system, and if not you’ll need to determine what the right process is for your business case. 

That’s it. The certificate is just proof that the person has plugged in a card and knows their keycode, and the government issued this card. It’s up to you to manage their session, any required user information, and access levels.

Conclusion

Once you get this stuff figured out it’s a great level of security and feels significantly safer than just forcing good password policies. That said, it is not particularly simple to get set up and if you’re looking at doing this from scratch we’d love to talk to you about how Concrete CMS might save you a lot of time.

欧美日韩另类一区| 白丝校花扒腿让我c| 在线免费观看高清视频| 欧美日韩一区二区三区不卡 | 在线观看视频91| 免费网站在线观看黄| 日本精品va在线观看| 综合精品久久久| 91专区在线观看| 亚洲欧洲综合另类| 国产成人手机视频| 在线观看视频欧美| 青娱乐91视频| 中文字幕精品三区| 国产精品一国产精品最新章节| 精品久久久久久亚洲精品| 91无套直看片红桃在线观看| 亚洲无限av看| 免费精品一区二区| 91在线码无精品| 成年人网站大全| 欧美一区二区三区色| 欧美一区二区黄片| 国产色无码精品视频国产| 成人免费视频网| 色综合久久六月婷婷中文字幕| 国产情侣自拍小视频| 91九色综合久久| 国产一区不卡精品| 久久国产乱子伦免费精品| 亚洲va国产天堂va久久en| 国偷自产av一区二区三区小尤奈| 日本少妇一区二区| 老司机福利av| 成人av免费看| 久久亚洲私人国产精品va媚药| 国内外免费激情视频| 国产精品夜夜嗨| 国产情侣第一页| 欧美mv和日韩mv国产网站| 日本免费新一区视频| 女性生殖扒开酷刑vk| 欧美四级电影在线观看| 黑人巨大精品欧美| 色综合影院在线| www香蕉视频| 懂色中文一区二区三区在线视频| 少妇按摩一区二区三区| 亚洲成人激情av| 福利在线一区二区| 国产成人激情av| 女~淫辱の触手3d动漫| 中文字幕亚洲综合久久| 久久福利资源站| 黄色正能量网站| 日本免费黄色小视频 | 天天色综合天天色| 欧美乱做爰xxxⅹ久久久| 成人h在线播放| 欧美精品777| 欧美a视频在线观看| 日韩三级在线播放| 欧美日韩一二三四五区| 中日韩黄色大片| 91成人免费观看网站| 欧美黄色一区二区三区| 亚洲免费av片| 日韩大片免费在线观看| 精品国产免费久久久久久尖叫 | 成人黄色短视频| 亚洲精品蜜桃久久久久久| 欧美成人午夜激情| 欧美日韩免费观看中文| 欧美黄色免费在线观看| 国产成人精品国内自产拍免费看| 依依成人综合视频| 最新国产中文字幕| 国产成人精品一区二区三区| 一级片视频免费| 91免费看片在线| 成人网在线免费视频| 麻豆视频免费在线播放| 99精品一区二区三区的区别| 欧美人妖巨大在线| 奇米777欧美一区二区| 一级片免费观看视频| 天天干天天操天天操| 免费在线观看亚洲| 欧美高清视频一区二区三区| 国产无限制自拍| 成人国产精品免费网站| 亚洲激情视频小说| 精品欧美日韩在线| 国产午夜精品视频| 中文字幕一区二区三区四区 | 国产免费无码一区二区| 91欧美日韩一区| 亚洲欧美激情另类校园| 成人少妇影院yyyy| 国产性生活视频| 黑人操日本美女| 日本黄色激情视频| 国产主播在线播放| 国产黄色一级大片| 91成年人视频| 欧美在线观看不卡| 人妻丰满熟妇av无码久久洗澡| 日韩电影大全在线观看| 中文字幕亚洲欧美日韩在线不卡| 日韩欧美综合在线视频| 国产成人午夜电影网| 亚洲综合第一区| 中文字幕亚洲情99在线| 久久国产一二区| 成人在线观看黄| 亚洲精品成人网| 欧美伊人精品成人久久综合97| 中文字幕一区二区不卡| 国产人妖在线播放| 黄色精品视频在线观看| 国产精品自产拍在线观| 大胆欧美人体视频| 欧美日韩综合色| 手机av免费在线观看| 国产黄色三级网站| heyzo国产| 97热精品视频官网| 亚洲一区二区三区四区不卡| 国精品**一区二区三区在线蜜桃 | 水蜜桃一区二区| 国产精品国内视频| 精品国产伦一区二区三区免费| 极品少妇xxxx精品少妇| 日韩黄色在线观看| 极品少妇xxxx偷拍精品少妇| 91福利社在线观看| 中文字幕精品在线| 99视频免费观看| 那种视频在线观看| 亚洲国产成人精品激情在线| 伊人网视频在线| 亚洲欧美日韩第一页| 久久婷婷中文字幕| 日韩毛片在线免费看| 欧美日韩免费高清| 久久伊人一区二区| 欧美大片免费观看在线观看网站推荐| 成人app下载| 波多野结衣视频观看| 亚洲精品手机在线观看| 国产精自产拍久久久久久| 亚洲一区二区三区久久| 国产精品久久久久久久免费大片| 日本一区二区不卡| 国产激情久久久久| 成人午夜在线观看| 国产成人av免费观看| 亚洲国产精品久久久久久6q| 依依成人综合视频| 日韩在线一区二区三区免费视频| 亚洲一区二区高清视频| 97干在线视频| 在线一区高清| 精品国产三级a∨在线| 一区二区免费在线视频| 亚洲国产成人不卡| 亚洲日本精品| 日本一区免费| 久久人人爽人人爽人人片av高清| 欧洲av在线精品| 久久久99久久| 天天av天天翘| 中文字幕一区二区三区四区| 欧美日韩中文字幕精品| 亚洲男女毛片无遮挡| 在线播放一区二区三区| 精品国产依人香蕉在线精品| 国产精品二区三区四区| 国产又黄又粗又猛又爽的视频 | 综合欧美一区二区三区| 亚洲欧洲中文天堂| 国产激情一区二区三区在线观看| 日韩av资源在线| 不卡中文字幕在线观看| 三上悠亚ssⅰn939无码播放 | 国产喷白浆一区二区三区| 中文字幕精品综合| 国产宾馆实践打屁股91| 不卡视频在线观看| 亚洲第一国产精品| 亚洲欧美综合一区| 日韩视频在线免费看| 影音先锋黄色资源| 国产一区二区三区三州| 一级做a爰片久久毛片| 青青草原免费观看| 99久久国产综合精品女不卡| 亚洲精品免费在线| 日韩在线视频网站| 国产成人精品一区二区在线小狼 | 中字幕一区二区三区乱码| 国产欧美一区二区三区在线老狼 | 日韩欧美亚洲国产精品字幕久久久 | 亚洲天堂中文字幕在线| 国产精品v日韩精品v在线观看| 久久久久久国产免费a片| 久久精品观看| 欧美性少妇18aaaa视频| 亚洲男人都懂的| 亚洲精品va在线观看| 中文字幕色av一区二区三区| 国产日韩欧美综合一区| 一区二区三区四区在线播放| 亚洲视频在线观看视频| 91精品久久久久久久久| 欧美一区亚洲二区| 亚洲国产欧美视频| 中文字幕在线观看高清| 粉嫩av一区二区三区免费野| 日韩aⅴ视频一区二区三区| 亚洲精品国产片| 中文国产亚洲喷潮| 无码人妻精品一区二区三区66| 成人一区二区三区| 日韩中文字幕在线观看| 91在线免费看片| 国产一级爱c视频| 日韩精品一区二区亚洲av性色| 国产又粗又猛又爽又黄视频| 欧美经典一区二区| 欧美一级电影免费在线观看| 欧美在线观看日本一区| 国产精品三级美女白浆呻吟 | 成人国产精品色哟哟| 日韩国产在线一区| 日韩熟女精品一区二区三区| 精品一区二区三区免费播放| 欧美日韩亚洲精品内裤| 成人久久久久久| www.四虎在线| 蜜桃av一区二区| 日韩av在线免费看| www.99热这里只有精品| 国产精品999久久久| 国产制服丝袜一区| 亚洲人成人99网站| 六月婷婷激情网| 日韩精品一区二区亚洲av观看| 奇米一区二区三区av| 国产午夜亚洲精品理论片色戒| 精品国产电影一区二区| 日本中文字幕影院| 亚洲一二三四区| 国产精品日日摸夜夜添夜夜av| 国产成人精品综合久久久久99| 麻豆国产精品777777在线| 一区二区不卡在线视频 午夜欧美不卡在| 国产精品资源网| 欧美日韩国产91| 玩弄japan白嫩少妇hd| 国产又色又爽又黄又免费| 国产精品久久久久久久无码| 99视频精品免费| 欧美一级爱爱视频| 日韩av一级大片| a级国产乱理论片在线观看99| 日本不卡视频在线播放| 日韩有码视频在线| 亚洲视频在线免费看| 91精品国产入口| 一本大道av一区二区在线播放| 国产精品成人免费| 国产亚洲视频系列| 91在线视频观看| jiyouzz国产精品久久| 久久激情五月激情| 男女激情视频一区| 视频一区视频二区在线观看| 神马午夜精品95| 精品人妻一区二区三区三区四区| 中文字幕制服诱惑| aaaaaa毛片| 伊人手机在线视频| 日韩伦理在线视频| 精品午夜福利视频| 久久久精品人妻一区二区三区四| 亚洲天堂黄色片| 国产成人综合在线视频| 亚洲综合视频网站| 日本中文字幕免费在线观看| 精品国产国产综合精品| 国产一二三区精品| 久草网视频在线观看| 国产精品二区一区二区aⅴ| 久久国产一级片| 国产香蕉视频在线| 精品视频一二三区| 97成人在线观看| 丰满人妻av一区二区三区| 午夜国产在线观看| 免费在线观看日韩欧美| 九一九一国产精品| 成人国产在线观看| 国产日韩欧美不卡在线| 国产精品国产三级国产专播品爱网 | 国产91九色视频| 国产精品久久久久一区二区 | 亚洲欧美在线观看| 一区二区三区日韩在线观看| 亚洲福利一区二区三区| 欧美性猛交xxxx免费看| 欧美日本一道本| 日韩国产激情在线| 久久精品国产2020观看福利| 欧美精品久久久久久久久久| 国产91精品在线播放| 91大片在线观看| 欧美大陆一区二区| 国产精品视频二| 亚洲欧洲日本精品| 亚洲精品在线视频免费观看 | 国产精品7777777| 看黄色一级大片| 亚洲黄色小说网址| 国产麻豆视频一区二区| 国产亚洲精品久| 五月天激情小说综合| 欧洲精品一区二区三区在线观看| 欧美不卡一区二区三区四区| 在线精品国产欧美| 欧美一级黄色网| 91久久综合亚洲鲁鲁五月天| 日韩av电影免费在线| 男人用嘴添女人下身免费视频| 亚洲综合20p| 91香蕉国产视频| 五月婷婷丁香在线| 日本欧美大码aⅴ在线播放| 99精品热视频| 一区2区3区在线看| 欧美视频一区在线| 中文字幕亚洲一区二区三区五十路| 欧美在线视频在线播放完整版免费观看| 91精品入口蜜桃| 国产制服91一区二区三区制服| 亚洲美女性囗交| 自拍偷拍你懂的| 国产三级理论片| 久久国产三级精品| 国产三级精品在线| 91国在线观看| 中文字幕av一区| 国产精品吊钟奶在线| 欧美日韩精品综合| 爱情岛论坛vip永久入口| 妺妺窝人体色WWW精品| 午夜一级黄色片| 久久99最新地址| 自拍偷拍欧美精品| 亚洲成人精品久久久| 96精品视频在线| 色女人综合av| 1314成人网| 国内免费精品视频| 日本 国产 欧美色综合| 亚洲美女屁股眼交| 日韩电影在线观看中文字幕 | 亚洲国产成人不卡| 69久久久久久| 国产主播在线观看| 麻豆国产精品官网| 精品久久久久久久久久| 最新的欧美黄色| 古典武侠综合av第一页| 国产成人综合一区| 国产亚洲精品久久777777| 日韩电影免费在线| 亚洲国产日韩精品| 日韩在线欧美在线| 欧美日韩在线高清| 色哟哟在线观看视频| 日本视频网站在线观看| 国产乱码精品一区二区三区忘忧草| 午夜亚洲福利老司机| 这里只有精品在线播放| 国产精品一区视频网站| www.污网站| 亚洲精品无码久久久久| 91免费在线看| 亚洲国产精品va在线| 91免费观看| 做a视频在线观看| 国产又粗又猛又爽又| 久久久久久免费毛片精品| 精品少妇一区二区三区 | 日本wwwxx| 国产视频手机在线观看| 中文字幕亚洲在| 色妞色视频一区二区三区四区| 九色91国产| 三叶草欧洲码在线| 亚洲色偷精品一区二区三区| 精品久久久久久国产91| 97高清免费视频| 亚洲熟妇av日韩熟妇在线| 九九精品在线观看视频| 国产成人在线免费观看| 日韩欧美中文字幕制服| 国产九色91| 欧美精品黑人猛交高潮|