Join us for a virtual Nutanix User Group meeting with Jarian Gibson as he covers Nutanix Cloud Clusters (NC2) on Azure and AWS with Citrix. <\/span><\/p>

Jarian will take a deep dive into NC2 on Azure architecture and Citrix on NC2 on Azure\u00a0that helps you strengthen your business continuity and disaster recovery position. He\u2019ll also provide the latest updates for NC2 on AWS.<\/span><\/p>

Plus, we're\u00a0giving away a Nutanix suitcase to one lucky winner!\u00a0Opt-in when you register\u00a0to be entered to win.\u00a0<\/p>","author":{"id":113632,"url":"\/members\/karlie-beil-113632","name":"Karlie Beil","avatar":"https:\/\/uploads-us-west-2.insided.com\/nutanix-us\/icon\/200x200\/1581aab3-bcf6-49f4-b2fb-3d11e8c010dc.png","userTitle":"Community Manager","rank":{"isBold":false,"isItalic":false,"isUnderline":false,"name":"Community Manager","color":"#0873ba"},"userLevel":4},"type":"Webinar","url":"https:\/\/next.nutanix.com\/events\/global-nug-nc2-on-azure-and-aws-with-citrix-151","image":"https:\/\/uploads-us-west-2.insided.com\/nutanix-us\/attachment\/f9693b5b-436b-427a-9b98-531b4040ff24_thumb.png","location":"","startsAt":1678298400,"endsAt":1678302000,"contentType":"event","attendees":[],"attendeeCount":0,"isLoggedInUserAttendee":false,"createdAt":"1675974969"},"phrases":{"Forum":{"{n} year|{n} years":"{n} year|{n} years","{n} month|{n} months":"{n} month|{n} months","{n} day|{n} days":"{n} day|{n} days","{n} hour|{n} hours":"{n} hour|{n} hours","{n} minute|{n} minutes":"{n} minute|{n} minutes","just":"just now","{plural} ago":"{plural} ago"}}}">

解决了

导出SSL证书

  • 2017年9月25日
  • 5个答复
  • 1672年的观点

UserLevel 2
徽章 +7
大家好,



我需要以文本格式导出 *.nutanix.Local Cert,是否有人有命令来执行此操作?
图标

最好的答案LevTech12017年9月28日,16:39

\n
\nthank you for the reply back but that didnt work, i found the solution by doing the below from any CVM:
\n
\npython
\nimport sslprint ssl.get_server_certificate(('PrismVIP', 9440), ssl_version=ssl.PROTOCOL_TLSv1)","className":"post__content__best_answer"}">
查看原件

该主题已关闭以供评论

5个答复

UserLevel 7
徽章 +34
你好LevTech1



是否有帮助 - 如果您只从浏览器中保存它,则可以使用记事本打开文件



让我知道,谢谢
UserLevel 2
徽章 +7
嗨,安吉洛,



谢谢您的回复,但这无效,我通过从任何CVM中完成以下操作找到了解决方案:



Python

导入sslprint ssl.get_server_certificate(('prismvip',9440),ssl_version = ssl.protocol_tlsv1)
UserLevel 2
徽章 +2

就像快速迈向任何发现这一点的人一样,在编写此答复时,上面的命令无效。我得到语法错误:

>>>导入sslprint ssl.get_server_certificate(('prismvip',9440),ssl_version = ssl.protocol_tlsv1)
文件“ ”,第1行
导入sslprint ssl.get_server_certificate(('prismvip',9440),ssl_version = ssl.protocol_tlsv1)
^
语法:语法无效

我不确定如何解决问题,我只是想让其他人知道该解决方案不再有效。

UserLevel 2
徽章 +4

你好马丁·埃德里乌斯(Martin Edelius)

尝试更改协议_tlsv1为str​​oment_tlsv1_2

让我知道

你缺少的是导入SSL在运行导入SSLPRINT之前的库。这些步骤将是 -

  1. 使用SSH登录群集中的一个CVM(控制器VM)。
  2. 获取集群的虚拟IP地址。
  3. 进入Python提示。
  4. 导入SSL库。

>>>导入SSL

  1. 打印SSL证书。

>>>打印ssl.get_server_certificate(('集群vip',9440),ssl_version = ssl.protocol_tlsv1_2)
Learn more about our cookies.<\/a>","cookiepolicy.button":"Accept cookies","cookiepolicy.button.deny":"Deny all","cookiepolicy.link":"Cookie settings","cookiepolicy.modal.title":"Cookie settings","cookiepolicy.modal.content":"We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.<\/a>","cookiepolicy.modal.level1":"Basic
Functional","cookiepolicy.modal.level2":"Normal
Functional + analytics","cookiepolicy.modal.level3":"Complete
Functional + analytics + social media + embedded videos"}}}">
Baidu