1 00:00:00,000 --> 00:00:06,600 Hello everybody. I think I'll just hold this. I'm Nick Sullivan and I'm going to talk to you 2 00:00:06,600 --> 00:00:10,660 about an open source project that I've been working on for a while with some of my 3 00:00:10,660 --> 00:00:20,480 colleagues related to cryptography. It's called CFSSL. So this is a truth, right? Everybody 4 00:00:20,480 --> 00:00:26,680 kind of knows this. When it comes to cryptography or anything else, if people have to put a 5 00:00:26,680 --> 00:00:32,260 little bit of extra mental effort into things, it's a challenge and people won't do it. In 6 00:00:32,260 --> 00:00:37,820 general, if you have an extra cognitive burden associated with an additional task that doesn't 7 00:00:37,820 --> 00:00:43,420 give you much of a benefit, you're not going to do it. So this is the argument, I guess, 8 00:00:43,460 --> 00:00:51,180 against PHP or PGP and why PGP has been not fully adopted by everybody. It's just a little bit 9 00:00:51,180 --> 00:00:56,660 tricky to use, right? But that's enough to make it too hard for some people, right? 10 00:00:56,680 --> 00:01:03,180 And about doing cryptography, exchanging messages between different people, what's the 11 00:01:03,180 --> 00:01:11,100 really mentally hard part about it? It's this idea of trust, right? So how do you know that this key 12 00:01:11,100 --> 00:01:16,040 that you have from someone else is really from there? Do you trust these key servers that they 13 00:01:16,040 --> 00:01:21,020 have out there with all these different keys on it? Are they reliable? Did you go to a crypto 14 00:01:21,020 --> 00:01:26,300 party and sign somebody's key? And how do you move your keys around from one device to another? 15 00:01:26,680 --> 00:01:33,020 And there's been quite a few products in the last little while that have been designed to help 16 00:01:33,020 --> 00:01:39,900 solve this key management problem. And by why I mean solve, I mean make it so that the lazy 17 00:01:39,900 --> 00:01:44,040 person doesn't have to think about it. So this does come back, come with some cryptographic 18 00:01:44,040 --> 00:01:50,300 drawbacks and all these solutions solve a lot of the problem in exchange for taking some stuff 19 00:01:50,300 --> 00:01:56,320 away. So this is about, you know, person-to-person, peer-to-peer communication. But 20 00:01:56,320 --> 00:02:05,720 what about the web? Well, so in December I gave a talk at Real World Crypto about HTTPS and all 21 00:02:05,720 --> 00:02:12,460 these major sites didn't have it. But the world is kind of coming along to the idea that HTTPS 22 00:02:12,460 --> 00:02:17,460 should be the default for the Internet. That every site, whether it's, whether you're uploading 23 00:02:17,460 --> 00:02:21,840 credit cards or just browsing anything, should be encrypted for everyone's privacy and security. 24 00:02:22,360 --> 00:02:26,300 And, you know, it's been about half a year since then. And, you know, it's been about half a year 25 00:02:26,320 --> 00:02:30,860 since then. And several big sites have, you know, taken the leap. But for the rest of them, 26 00:02:31,940 --> 00:02:38,160 they're going to have to figure it out soon. Because not only is Mozilla trying to deprecate 27 00:02:38,160 --> 00:02:43,740 non-secure HTTP, anything that you connect to a website over an insecure channel, they're trying 28 00:02:43,740 --> 00:02:48,540 to make it so that the browser will warn you and say, hey, this is insecure. And, you know, 29 00:02:48,580 --> 00:02:54,940 Chrome's doing the same thing, right? Marking HTTP as insecure. This is a plan, you see, 30 00:02:55,040 --> 00:02:56,300 transition plan in 2015. This is a transition plan in 2015. This is a transition plan in 2015. 31 00:02:56,320 --> 00:03:02,300 It hasn't really started yet. But it's coming. And they want to do it. So the Internet right now, 32 00:03:03,000 --> 00:03:10,040 very few sites are HTTPS. A lot of the major sites are. But, you know, small sites, it's really 33 00:03:10,040 --> 00:03:14,440 kind of hard. And people, there's just enough friction to getting SSL certificates and setting 34 00:03:14,440 --> 00:03:20,040 these things up, like with PGP, that people are sort of, like, why bother? So this is, like, a 35 00:03:20,040 --> 00:03:26,300 small plug for a project that we did at CloudFlare where we offered free internet access. And, you 36 00:03:26,300 --> 00:03:30,380 know, we're using the SSL. So if you have a site, use our service and you have an HTTPS 37 00:03:30,380 --> 00:03:37,620 certificate for free. And this is all well and good, right? So this protects you as a visitor to a 38 00:03:37,620 --> 00:03:45,340 website and a website as people going to it from having snoopers or interceptors anywhere along 39 00:03:45,340 --> 00:03:51,000 the path between the device to the website. But anybody who's building websites and services know 40 00:03:51,000 --> 00:03:56,280 that that's just the first, that's sort of, like, that's the wild west, the outside, the 41 00:03:56,300 --> 00:04:01,200 inside world. But there's really a whole other world behind it in the back end that you have to 42 00:04:01,200 --> 00:04:06,340 think about. So if you have a message that goes from, you know, your device to the website, what 43 00:04:06,340 --> 00:04:12,780 happens once it gets there? It could go over, you know, inside of a secure network to other 44 00:04:12,780 --> 00:04:17,920 services, database services, things like this. Or it could potentially go over the internet. And 45 00:04:18,660 --> 00:04:23,000 it's really not clear. So as a web developer, you should really consider your network to be 46 00:04:23,900 --> 00:04:26,280 untrusted. Consider that your network is hacked. And, you know, there's a lot of stuff going on. 47 00:04:26,300 --> 00:04:33,400 And this is one of those things that takes, it's a little bit of a mental jump and a leak, just like 48 00:04:33,400 --> 00:04:42,180 with setting up HTTPS for your site. And just like as a subset of people, developers are also lazy, 49 00:04:42,400 --> 00:04:48,240 right? So if there's any kind of burden, they, you know, they'll just give up and say, okay, well, 50 00:04:48,320 --> 00:04:55,180 you know, it's, we're all inside AWS, who cares? It's all safe. So if you have as a functional 51 00:04:55,180 --> 00:04:56,280 requirement for, you know, you know, you know, you know, you know, you know, you know, you know, you 52 00:04:56,300 --> 00:05:01,760 know, you can use, or a product, or a company, say, you know, encrypt all the things. It's, 53 00:05:02,360 --> 00:05:09,300 this is kind of like saying, encrypt all the emails. And you know, that's very vague. And when 54 00:05:09,300 --> 00:05:16,600 it comes to trust in key management, there's no real good standard solution for this. Just like 55 00:05:16,600 --> 00:05:21,860 with PGP, how do you trust the keys are coming from someone else? If you have multiple services in 56 00:05:21,860 --> 00:05:26,280 your data center, or over data centers, over back-ends, you know, storage is one issue. I'm gonna 57 00:05:26,280 --> 00:05:32,140 where are the keys? The dog ate the keys, right? And if you're 58 00:05:32,140 --> 00:05:35,960 going to have a website back end or communication that happens 59 00:05:35,960 --> 00:05:40,340 that's not between a browser and a server, you probably want to 60 00:05:40,340 --> 00:05:43,520 have a public key infrastructure. You want to make 61 00:05:43,520 --> 00:05:46,640 sure that things are encrypted in transit between processes, 62 00:05:46,780 --> 00:05:53,860 between applications. And doing this with open SSL and say other 63 00:05:53,860 --> 00:05:57,940 open source CAs like EJBCA are actually really hard to deal 64 00:05:57,940 --> 00:06:01,840 with. Nobody wants to think about that or look at it. ASN1 65 00:06:01,840 --> 00:06:07,300 is horrible. And nobody wants to touch the open SSL command line 66 00:06:07,300 --> 00:06:10,040 and sort of integrate that into their development environment. 67 00:06:10,580 --> 00:06:14,760 And this actually came across for us with this project called 68 00:06:14,760 --> 00:06:18,240 Railgun which is a product that we use to accelerate 69 00:06:18,900 --> 00:06:23,840 communication between your server and CloudFlare CDN. So 70 00:06:23,860 --> 00:06:28,140 if you install a piece of software on your server, you can 71 00:06:28,140 --> 00:06:30,660 actually do some really nice things to speed that up. You 72 00:06:30,660 --> 00:06:34,380 don't have to use regular HTTPS. You can do smart differentials 73 00:06:34,380 --> 00:06:37,860 and all these sort of things. But you also want that 74 00:06:37,860 --> 00:06:41,740 connection there to be fully encrypted and trusted and, you 75 00:06:41,740 --> 00:06:46,800 know, PKI'd and mutually authenticated TLS is one of the 76 00:06:46,800 --> 00:06:51,080 many tools you can use to do that. But again, the question 77 00:06:51,080 --> 00:06:53,840 is, you're running a website. You're using it. You're using 78 00:06:53,860 --> 00:06:56,600 the service. You don't want to buy a certificate and try to 79 00:06:56,600 --> 00:06:59,080 install it or have to even think about these sort of things. This 80 00:06:59,080 --> 00:07:04,740 is a barrier to entry to get on to something like this. So, well, 81 00:07:04,920 --> 00:07:09,660 we decided just let's write our own CA software, right? And we 82 00:07:09,660 --> 00:07:15,160 chose Go, which is really fun to program in. That's not the 83 00:07:15,160 --> 00:07:18,840 main reason. But mostly the reason is that building APIs with 84 00:07:18,840 --> 00:07:23,120 it is incredibly simple and the crypto library in the standard 85 00:07:23,860 --> 00:07:27,100 library crypto is pretty robust. And it also doesn't 86 00:07:27,100 --> 00:07:30,880 have a lot of the cruft that, you know, open SSL has. It 87 00:07:30,880 --> 00:07:34,780 doesn't have heartbeat support, for example, and anything that 88 00:07:34,780 --> 00:07:39,380 you really wouldn't need in a TLS server. So, what we did was 89 00:07:39,380 --> 00:07:44,060 we built CFSSL as a CA server and it's fully kind of 90 00:07:44,060 --> 00:07:50,020 automated and you can use the JSON API and use it for 91 00:07:50,020 --> 00:07:53,180 certificates. So how does this work with, say, Railgun, for 92 00:07:53,180 --> 00:07:53,460 instance? 93 00:07:54,120 --> 00:07:58,480 If you have this Railgun instance on your website, you're 94 00:07:58,480 --> 00:08:02,900 trying to use Cloudflare, when it spins up, it runs this 95 00:08:02,900 --> 00:08:05,600 activation call and sends a certificate signing request to 96 00:08:05,600 --> 00:08:08,420 the CA and gets it back. And it's signed by a Cloudflare 97 00:08:08,420 --> 00:08:11,780 internal CA. So then from then on, any communication between 98 00:08:12,540 --> 00:08:15,760 Railgun and Cloudflare is completely mutually 99 00:08:15,760 --> 00:08:20,160 authenticated TLS. And in this case, you don't have to do 100 00:08:20,160 --> 00:08:22,820 anything really as a customer. You don't have to buy a 101 00:08:22,820 --> 00:08:23,840 certificate. You don't have to install it. You don't have to 102 00:08:23,860 --> 00:08:29,200 install things. This, that, and the other. All this burden of 103 00:08:29,200 --> 00:08:34,400 the cognitive burden of setting up cryptography is saved because 104 00:08:34,400 --> 00:08:39,620 it's just an API. It's just automated. And at this point, if 105 00:08:39,620 --> 00:08:43,800 you have Cloudflare in the origin, this back end part now 106 00:08:43,800 --> 00:08:49,000 becomes encrypted. And this model is something that makes 107 00:08:49,000 --> 00:08:52,460 sense to apply to your entire infrastructure. So if you have, 108 00:08:52,480 --> 00:08:53,840 say, API servers and TLS servers, you don't have to do anything 109 00:08:53,860 --> 00:08:59,060 else. You can use CFSSL as the CA to offer certificates for all 110 00:08:59,060 --> 00:09:01,800 of these. There's a client library and a client 111 00:09:01,800 --> 00:09:05,680 application for CFSSL that whenever one of your API 112 00:09:05,680 --> 00:09:08,160 servers, whether it's an ephemeral in a Docker container 113 00:09:08,160 --> 00:09:11,660 or a VM, it just spins up, asks for a certificate, and then it 114 00:09:11,660 --> 00:09:14,360 can go. And then these two servers can talk to each other 115 00:09:15,180 --> 00:09:18,480 over an encrypted connection. And so at that point, as a 116 00:09:18,480 --> 00:09:20,980 developer, you don't have to think about, is my network 117 00:09:20,980 --> 00:09:23,840 secure? Is any of my servers secure? Is my network secure? Is 118 00:09:23,840 --> 00:09:27,800 any sort of the underlying layers? Am I on a VPN? Do I trust 119 00:09:27,800 --> 00:09:32,240 my data center or anything like that? And that's one of the big 120 00:09:32,240 --> 00:09:35,780 advantages that CFSSL can give you. So deployment is also super 121 00:09:35,780 --> 00:09:40,400 nice because in Go, it's just a static binary. So build it, 122 00:09:40,480 --> 00:09:44,140 send it to wherever you want to run it, and, you know, go from 123 00:09:44,140 --> 00:09:48,020 there. And right now, in the open source, we have Docker 124 00:09:48,020 --> 00:09:50,460 definition, if that's your thing, if you want to do some 125 00:09:50,460 --> 00:09:53,820 containerized things. But, yeah, so that's kind of the 126 00:09:53,840 --> 00:09:58,620 thing. So CFSSL as a CA is something that we actually use 127 00:09:58,620 --> 00:10:02,100 in production and has been really, really useful for us. 128 00:10:02,300 --> 00:10:07,060 But another thing that we've noticed or another problem when 129 00:10:07,060 --> 00:10:12,160 it comes to PKI on websites is certificate errors. And we've 130 00:10:12,160 --> 00:10:16,060 run into this quite a lot with people setting up their own 131 00:10:16,060 --> 00:10:21,860 site. Different browsers trust different sets of CAs. So if 132 00:10:21,860 --> 00:10:23,820 Windows trusts different CAs, you know, if you're using a 133 00:10:23,840 --> 00:10:26,420 certificate authorities, then Android trusts different ones 134 00:10:26,420 --> 00:10:32,200 than whoever. And not only that, but Chrome now and Firefox have 135 00:10:32,740 --> 00:10:37,700 more restrictive policies around what type of signature algorithm 136 00:10:38,040 --> 00:10:42,060 you have. So given a certificate, you may not know 137 00:10:42,060 --> 00:10:45,820 this, but you can construct multiple different chains of 138 00:10:45,820 --> 00:10:49,300 trust for the same certificate all the way down. So, for 139 00:10:49,300 --> 00:10:53,340 example, in this one, this is our leaf certificate. There's two 140 00:10:53,340 --> 00:10:53,820 different interfaces. There's one on the left and one on the 141 00:10:53,840 --> 00:10:55,840 right. There's two intermediates that have the same public key 142 00:10:56,290 --> 00:11:00,460 that are signed with one shot one, one shot two. And they kind 143 00:11:00,460 --> 00:11:03,980 of root down to different certificate authorities. And 144 00:11:05,260 --> 00:11:10,020 depending on what browsers want to see your site, one of these 145 00:11:10,020 --> 00:11:13,600 chains might work, one of them might not. So we built a tool in 146 00:11:13,600 --> 00:11:17,240 CFSSL called the bundler in which you give it a certificate 147 00:11:17,770 --> 00:11:21,680 and say, do I want the most modern up to date chain? I don't 148 00:11:21,680 --> 00:11:23,340 care about backwards compatibility with old 149 00:11:23,340 --> 00:11:28,260 devices. Or do I want the most compatible possible chain that 150 00:11:28,260 --> 00:11:31,580 will work everywhere? So it will either give you the one on the 151 00:11:31,580 --> 00:11:34,360 left or the one on the right. And this is kind of automated. 152 00:11:34,700 --> 00:11:40,680 It follows the AIA record inside a certificate which points to 153 00:11:40,680 --> 00:11:43,740 where it's CA is. So it's actually really nice. You want 154 00:11:43,740 --> 00:11:47,900 to set up a certificate that you bought from a CA and you don't 155 00:11:47,900 --> 00:11:50,360 know what the right chain is, you just throw it through 156 00:11:50,360 --> 00:11:53,320 bundler and it will get it for you. So after a couple of days, 157 00:11:53,320 --> 00:11:57,080 after weighing the pros and cons of open sourcing this, about a 158 00:11:57,080 --> 00:12:00,140 year ago we said, yeah, this is something that the world could 159 00:12:00,140 --> 00:12:05,300 use. Let's do it. Let's put it out there. And this is last 160 00:12:05,300 --> 00:12:09,560 July. And I guess to our surprise, like a lot of people 161 00:12:09,560 --> 00:12:13,840 started using it. And these are unconfirmed but sort of just 162 00:12:13,840 --> 00:12:17,280 people from these different places have said, hey, we are 163 00:12:17,280 --> 00:12:20,920 using this inside either the bundler or the CA. And it 164 00:12:20,920 --> 00:12:23,300 actually, if anyone was listening previously to the 165 00:12:23,320 --> 00:12:27,960 Let's Encrypt talk, CFSSL makes the core of what their CA is. So 166 00:12:27,960 --> 00:12:32,840 CFSSL is right at the middle of what they're using for their CA. 167 00:12:33,820 --> 00:12:37,880 And, you know, it's been a year so I'm happy to announce the 168 00:12:37,880 --> 00:12:46,380 version 1.1 of CFSSL. We just tagged this this week. And it 169 00:12:46,380 --> 00:12:50,060 has some really nice features that are useful and that people 170 00:12:50,060 --> 00:12:53,080 have asked for since we originally came out with this. 171 00:12:53,320 --> 00:12:57,940 And one of the main ones is HSM support. And big shout out to 172 00:12:57,940 --> 00:13:00,840 Richard Barnes from Mozilla for helping out with this one. But 173 00:13:01,400 --> 00:13:05,460 yeah, you can use CFSSL without having to store your key on a 174 00:13:05,460 --> 00:13:08,800 disk. If you have your CA on a trusted box, that's good. But 175 00:13:08,800 --> 00:13:12,120 it's not as good as having it in a piece of hardware that's 176 00:13:12,820 --> 00:13:17,460 tamper resistant. So you can now use CFSSL with HSMs. You can 177 00:13:17,460 --> 00:13:21,800 use it to support multiple CA's at the same time. It does OCSP 178 00:13:21,800 --> 00:13:23,300 as well with, you know, the, you know, the, you know, the, you 179 00:13:23,300 --> 00:13:26,500 know, this remote mode where you can authenticate with it. And 180 00:13:26,500 --> 00:13:31,500 we introduced a nice web UI. So people like interacting with 181 00:13:31,500 --> 00:13:34,600 these type of tools on the command line or with, via an API. 182 00:13:34,880 --> 00:13:38,940 But if you want to get it used by more broadly in an 183 00:13:38,940 --> 00:13:44,300 organization, web UI is really the way to go. And if you, if 184 00:13:44,300 --> 00:13:48,380 you install CFSSL and run it and you go to local host colon 185 00:13:49,180 --> 00:13:52,240 8888, then the UI pops up and you can use the different 186 00:13:53,300 --> 00:13:56,440 options. And here's kind of a full list of the changes. It's 187 00:13:56,440 --> 00:13:59,900 impossible to read from here. But we've fixed some things. We 188 00:13:59,900 --> 00:14:04,520 added some things. And it's looking really good. So the 189 00:14:04,520 --> 00:14:09,660 other thing that we did was we built a web, well we put it 190 00:14:09,660 --> 00:14:13,760 online. So CFSSL.org is the home of this development 191 00:14:13,760 --> 00:14:17,000 project. And if you go there, you can kind of, you can 192 00:14:17,000 --> 00:14:19,420 actually test out the features because we have a version of 193 00:14:19,420 --> 00:14:21,160 this running. And let me... 194 00:14:24,700 --> 00:14:30,780 show you right now. So bundle. So for example, you can point 195 00:14:30,780 --> 00:14:35,840 this to any website and say what flavor of certificate you want. 196 00:14:36,500 --> 00:14:40,500 Force means just don't even listen to us, just whatever 197 00:14:40,500 --> 00:14:44,760 certificate chain you want. But ubiquitous is the most 198 00:14:44,760 --> 00:14:47,760 compatible and then there's most optimal. You can kind of point 199 00:14:47,760 --> 00:14:50,620 it to a site and say, yeah, give me the certificate chain and 200 00:14:50,620 --> 00:14:53,360 then this will give you your list of certificates and then 201 00:14:53,360 --> 00:14:57,740 your list of warnings here for which browsers will and will not 202 00:14:57,740 --> 00:15:02,840 support it. So for example, this one has shot 2 and Windows XP SP 203 00:15:02,840 --> 00:15:06,360 2. If you're not using Chrome or Firefox, it won't like it. Same 204 00:15:06,360 --> 00:15:11,220 with Android 2.2. And this website is also ECDSA, which 205 00:15:11,220 --> 00:15:14,980 means there's a whole host of browsers that won't be able to 206 00:15:14,980 --> 00:15:20,600 use it as well. So that's it. Thank you. 207 00:15:20,620 --> 00:15:24,420 That's the demo. And those are the basic two features of CFSSL 208 00:15:24,420 --> 00:15:30,600 is the sign and the bundler. But there is one more thing. What 209 00:15:30,600 --> 00:15:35,420 good is a TLS and PKI library if you're not going to use it to do 210 00:15:35,920 --> 00:15:39,800 the most important part, which is testing, right? If you're 211 00:15:39,800 --> 00:15:42,220 setting up TLS servers, you need to have them configured 212 00:15:42,220 --> 00:15:45,320 correctly and you need to use the right cipher suites and you 213 00:15:45,320 --> 00:15:49,120 need to have everything set up so that it is secure. You don't 214 00:15:49,120 --> 00:15:50,600 want to use SSL 3 for instance. You don't want to use SSL 3 for 215 00:15:50,620 --> 00:15:53,100 instance or you don't want to use export ciphers. There's a lot 216 00:15:53,100 --> 00:15:57,840 of different things that make TLS useful. The flexibility. But 217 00:15:57,840 --> 00:16:01,100 that also lets you hamstring yourself with having a bad 218 00:16:01,100 --> 00:16:06,300 implementation. So we added this feature called CFSSL scan. 219 00:16:06,720 --> 00:16:10,920 And what this does is you point it at a server and it does a 220 00:16:10,920 --> 00:16:15,940 scan, kind of like SSL labs does. So if you have a public 221 00:16:15,940 --> 00:16:20,600 website and you use SSL labs, you type your host name and 222 00:16:20,620 --> 00:16:23,940 it will scan it and say, okay, yes, it supports the cipher 223 00:16:23,940 --> 00:16:26,540 suites, these TLS versions, this, that and the other thing. 224 00:16:26,660 --> 00:16:31,420 But it's actually not able to do this inside of an infrastructure. 225 00:16:31,760 --> 00:16:35,280 So it only works for things that are on the public web. What 226 00:16:35,280 --> 00:16:40,880 CFSSL scan is is a stand-alone application. So you can take this 227 00:16:40,880 --> 00:16:43,720 go app, send it inside your infrastructure and point it at 228 00:16:43,720 --> 00:16:49,720 different IPs and say, okay, is this correct or not? And it's 229 00:16:49,720 --> 00:16:53,500 modular so that if there are any new vulnerabilities that come 230 00:16:53,500 --> 00:16:57,580 out, like something like a heart bleed or a TLS poodle or 231 00:16:57,580 --> 00:17:00,280 something like that, you can just add them in as individual 232 00:17:00,280 --> 00:17:04,920 scans to this. So this is also part of the open source thing. 233 00:17:05,060 --> 00:17:14,040 So let me demo this real quick. So this is what it looks like. So 234 00:17:14,040 --> 00:17:19,320 I recently scanned, so CloudFlare.com with CFSSL.org, 235 00:17:20,020 --> 00:17:26,400 and it has your DNS connectivity, TCP dial, TLS 236 00:17:26,400 --> 00:17:30,240 session, whether you support session resumption and then down 237 00:17:30,240 --> 00:17:33,080 here it has this whole array of which cipher suites you support. 238 00:17:33,360 --> 00:17:37,160 And it is somewhat opinionated. So it will tell you if you have 239 00:17:37,160 --> 00:17:42,220 a cipher suite that is sort of less than optimal. But it will 240 00:17:42,220 --> 00:17:45,300 also sort of tell you which elliptic curves you do support 241 00:17:45,300 --> 00:17:49,700 and all these sort of things. So CloudFlare.com is a great way 242 00:17:49,700 --> 00:17:56,760 to scan. And let's see, this is CFSSL.org. This one has only 243 00:17:56,760 --> 00:18:01,700 ECDHE, so elliptic curve certificates. And if you go to 244 00:18:01,700 --> 00:18:06,780 the Paris hotel and say scan the internal captive portal 245 00:18:06,780 --> 00:18:09,800 network, you'll see that there's some bad things. The 246 00:18:09,800 --> 00:18:13,060 chains don't validate and it automatically downgrades your 247 00:18:13,610 --> 00:18:19,680 TLS session to 1.0. So this is CFSSL.org. So this is CFSSL. 248 00:18:19,700 --> 00:18:25,440 scan. And hopefully people will contest this out. You can go 249 00:18:25,440 --> 00:18:29,120 right now on CFSSL.org and try it. Although I don't encourage you 250 00:18:29,120 --> 00:18:32,640 to really use this as your basis because it's running on sort of a 251 00:18:32,640 --> 00:18:37,100 small instance. The best way to go about this is to do what I 252 00:18:37,100 --> 00:18:41,120 have here which is just run it locally and you can run a scan. 253 00:18:41,300 --> 00:18:44,920 So if you have access to a wide network, you can actually run 254 00:18:44,920 --> 00:18:47,220 this from all sorts of different places around the globe to see 255 00:18:47,220 --> 00:18:49,680 if TLS configurations look the same. And it works really well if 256 00:18:49,700 --> 00:18:54,460 So this is also useful for inside and outside of countries 257 00:18:54,460 --> 00:18:57,140 with different firewall parameters to see if things 258 00:18:57,140 --> 00:19:03,820 match up correctly. And yeah, so that's what CFSSL is right now. 259 00:19:03,980 --> 00:19:10,000 So certificate authority, chain builder, and TLS scanner. This 260 00:19:10,000 --> 00:19:16,540 is the core team is me, Kyle, and Jacob and these are all 261 00:19:16,540 --> 00:19:21,360 systems engineers at CloudFlare. And for 101, I'd like to thank 262 00:19:21,360 --> 00:19:23,780 all these contributors, especially Taren Stock. Where 263 00:19:23,780 --> 00:19:28,540 are you, Taren? For the UI. He's supposed to be here. He sort of 264 00:19:28,540 --> 00:19:33,020 got that in earlier today. And yeah, so that's it. CFSSL, 265 00:19:33,060 --> 00:19:40,640 thanks. Now does anybody have any questions? 266 00:19:47,580 --> 00:19:51,620 Do we have support for issuing publishers? So you're asking if 267 00:19:51,620 --> 00:19:55,620 we scan a site, do we publish those to a CT log or can we add 268 00:19:55,620 --> 00:20:04,540 that? Oh, right. So if you're using CFSSL as a CA, right now 269 00:20:04,540 --> 00:20:08,540 there's no support for publishing to a CT log. It's 270 00:20:08,540 --> 00:20:12,060 usually used for internal stuff. But that is a good suggestion 271 00:20:12,060 --> 00:20:16,440 for a future product. And yeah, if you are running your own 272 00:20:16,540 --> 00:20:19,980 internal PKI, it's an interesting idea to have 273 00:20:19,980 --> 00:20:23,880 certificate transparency to make sure that certificates are 274 00:20:23,880 --> 00:20:38,460 issued as you expect them to. Yes. So the scanner takes a 275 00:20:38,460 --> 00:20:42,360 look at everything. It sort of identifies weak key sizes, weak 276 00:20:42,360 --> 00:20:46,520 key algorithms. And if you have different extent of the 277 00:20:46,540 --> 00:20:47,640 system, you will see that. So if you have extensions, say if 278 00:20:47,640 --> 00:20:50,880 your certificate is not valid for server authentication and 279 00:20:50,880 --> 00:21:03,020 only for client authentication, it will tell you that. So right 280 00:21:03,020 --> 00:21:07,440 now this is sort of the back end piece of it. And we don't 281 00:21:07,440 --> 00:21:10,840 have authentication built in. So you would have to put your own 282 00:21:10,840 --> 00:21:16,460 authentication module in front of it. Right now it's as a 283 00:21:16,460 --> 00:21:20,440 CA with the web UI. In the API we have an HMAC based 284 00:21:20,440 --> 00:21:24,460 authentication scheme you can use and we're looking to extend 285 00:21:24,460 --> 00:21:28,200 that to more standardized authentication mechanisms. 286 00:21:31,740 --> 00:21:43,160 Anybody else? Okay. Well, thanks a lot to DEF CON and see you 287 00:21:43,160 --> 00:21:43,420 again soon.