List SAN domains for a certificate

echo | openssl s_client -connect google.com:443 2>&1 | openssl x509 -noout -text | awk -F, -v OFS="\n" '/DNS:/{x=gsub(/ *DNS:/, ""); $1=$1; print $0}'
List SAN Domains for a certificate
Sample Output
*.google.com
*.android.com
*.appengine.google.com
*.cloud.google.com
*.crowdsource.google.com
*.g.co
*.gcp.gvt2.com
*.gcpcdn.gvt1.com
*.ggpht.cn
*.gkecnapps.cn
*.google-analytics.com
*.google.ca
*.google.cl
*.google.co.in
*.google.co.jp
*.google.co.uk
*.google.com.ar
*.google.com.au
*.google.com.br
*.google.com.co
*.google.com.mx
*.google.com.tr
*.google.com.vn
*.google.de
*.google.es
*.google.fr
*.google.hu
*.google.it
*.google.nl
*.google.pl
*.google.pt
*.googleadapis.com
*.googleapis.cn
*.googlecnapps.cn
*.googlecommerce.com
*.googlevideo.com
*.gstatic.cn
*.gstatic.com
*.gstaticcnapps.cn
*.gvt1.com
*.gvt2.com
*.metric.gstatic.com
*.urchin.com
*.url.google.com
*.wear.gkecnapps.cn
*.youtube-nocookie.com
*.youtube.com
*.youtubeeducation.com
*.youtubekids.com
*.yt.be
*.ytimg.com
android.clients.google.com
android.com
developer.android.google.cn
developers.android.google.cn
g.co
ggpht.cn
gkecnapps.cn
goo.gl
google-analytics.com
google.com
googlecnapps.cn
googlecommerce.com
source.android.google.cn
urchin.com
www.goo.gl
youtu.be
youtube.com
youtubeeducation.com
youtubekids.com
yt.be

0
By: shadyabhi
2020-04-10 06:56:51

What Others Think

[Nice](https://www.commandlinefu.com/)
samuelddarden · 78 weeks and 2 days ago
google [url=https://google.com/]google[/url]
samuelddarden · 78 weeks and 2 days ago
The information is worth thinking over. I am really thankful to you for posting this blog. Ghd sports APK
GHDSPORTSAPK · 76 weeks and 4 days ago
I don't know what actually it is. It was very difficult for me to know about this. I have read this so many times. Can you please help me with this. If you can explain it then it will be easy for me to follow the code. cbd oil
zaiyamariya · 59 weeks and 1 day ago
It's got too much controversy, but that's a good thing. run 3
diankale · 58 weeks and 3 days ago
great content! will recommend this site to my friends breast implants baton rouge cost
looneyhans · 51 weeks and 1 day ago
It will be very useful for you to share this with us, thank you. basketball games
ebonyajohnson · 49 weeks and 5 days ago
thanks for ths countertopsspokane.com
looneyhans · 46 weeks and 4 days ago
very helpful and nice! weddingphotographerslincolnne.com
Killersmile · 46 weeks and 1 day ago
I can't help but tell you about the most useful website in the world https://askboosters.com/, which has helped me out more than once, as I wanted to urgently pump my rating in my favorite video game.
Conch · 45 weeks and 5 days ago
wow! love it! you really are the best! laser hair removal
idasanka · 42 weeks ago
house cleaning jacksonville fl I am amazed by the way you have explained things in this article. This article is quite interesting and I am looking forward to reading more of your posts. Thanks for sharing this article with us.
yeoyeo · 40 weeks and 2 days ago
approaches to remain productive and strain-unfastened in the course of this confusing time. finding the right skills to your startup might be easier with those proven hiring guidelines.  voip phone service
newsreviewnet · 39 weeks and 5 days ago
All the faces in the world are mirrors. What kind of reflections do you see in the faces of the people you meet? voip phone system service provider
giaome · 39 weeks and 3 days ago
thank you for this! really appreciate you doing this pray
sammm · 37 weeks and 1 day ago
Helpful code for me and many more like me thanks for sharing it with us. litigation management software
Williams · 30 weeks and 2 days ago
This is great! Thanks so much! cabinets st george
aegyjingoo · 28 weeks and 1 day ago
Domain link? eyelash extensions cleveland
geebranz · 22 weeks and 3 days ago
There are actually plenty of particulars like that to take into consideration. That is a great point to bring up. I offer the thoughts above as normal inspiration however clearly there are questions just like the one you carry up where the most important thing will likely be working in trustworthy good faith. I don?t know if best practices have emerged round things like that, but I’m positive that your job is clearly identified as a good game. Each girls and boys feel the impact of only a second’s pleasure, for the rest of their lives. http://besttemplatetuning.com/2021/06/30/baccarat-casino-match-learning-the-fundamentals/">Baccarat Casino Match
robinjack · 14 weeks and 6 days ago
You made some respectable points there. I seemed on the web for the problem and found most people will go along with with your website. chemdawg shatter
robinjack · 9 weeks and 6 days ago
This is one very interesting post. I like the way you write and I will bookmark your blog to my favorites. http://69.195.78.97/login/">login sbobet
robinjack · 9 weeks and 2 days ago
Thanks to the progressive medical marijuana program in California, more and more people are starting to understand how many practical medical applications that California offers. stiiizy pen for sale
robinjack · 8 weeks and 2 days ago
To be successful in this issue you have written about, one will have to really devote time and effort into it. I worked on doing a research upon it in my spare time and you also wouldn’t believe in the possibilities that opened up job wise. This is a terrific discipline and can lead to many exciting prospects. Thanks for sharing your ideas. Online appointment planner
robinjack · 6 weeks and 5 days ago
Some genuinely nice and useful information on this website, besides I think the pattern has wonderful features. painters asheville nc
robinjack · 4 weeks and 6 days ago
Parc Central Residences by Hoi Hup and Sunway Group. Hotline 61009266 . Get Discounts, Direct Developer Price, Brochure, Floor Plan, Price. New Executive Condo at Tampines Parc Central Residences EC
robinjack · 3 weeks and 6 days ago
bad credits can happen at any point in your life so be prepared to always get some extra income;; normanton park showflat
robinjack · 1 week ago
You need to indulge in a contest first of the finest blogs on the internet. I will recommend this website! new jersey addiction detox
robinjack · 5 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: