本文简要介绍 python 语言中 arcgis.gis.admin.SSLCertificates.get
的用法。
用法:
get(alias_name)
返回:
- 类
~arcgis.gis.admin.SSLCertificate
对象
通过别名获取单个 SSLCertificate 对象
Parameter
Description
alias_name
必需的字符串。证书的通用名称。
USAGE: Print out information about a specific SSL Certificate by alias name from arcgis.gis import GIS gis = GIS("https://yourportal.com/portal", "portaladmin", "password") # Get the SSL Certificate class sslmgr = gis.admin.security.ssl # Get a specific certificate alias and print information ssl = sslmgr.get('portal') for prop in ssl.properties: print(prop, ssl.properties[prop])])) # Output aliasName portal issuer CN=YOURPORTAL.COM, OU=Self Signed Certificate subject CN=YOURPORTAL.COM, OU=Self Signed Certificate subjectAlternativeNames [] validFrom Fri Sep 15 07:46:45 EDT 2017 validUntil Sun Jul 24 07:46:45 EDT 2050 keyAlgorithm RSA keySize 2048 serialNumber 503b23c6 version 3 signatureAlgorithm SHA256withRSA keyUsage [] md5Fingerprint 76d695d72e46b30ea90013676d559faa sha1Fingerprint 6f36513757c28ad43c2df5e4c7cee581ad18dd1e sha256Fingerprint a051aab19d1ed8ceee7322572b3b1b2abd1ed680d0a1d81d0da84cf0e1a1b6cb
相关用法
- Python ArcGIS SSLCertificates.import_certificate用法及代码示例
- Python ArcGIS SSLCertificates.list用法及代码示例
- Python ArcGIS Site.delete用法及代码示例
- Python ArcGIS StoryMap.move用法及代码示例
- Python ArcGIS Site.export_site用法及代码示例
- Python arcgis.mapping.SceneLayerManager.update_tiles用法及代码示例
- Python ArcGIS SiteManager.get用法及代码示例
- Python ArcGIS SceneLayer用法及代码示例
- Python ArcGIS Site.update_theme用法及代码示例
- Python ArcGIS System.index_status用法及代码示例
- Python ArcGIS StreamLayer用法及代码示例
- Python ArcGIS Site.update_layout用法及代码示例
- Python ArcGIS StoryMap.theme用法及代码示例
- Python arcgis.mapping.SceneLayerManager.import_tiles用法及代码示例
- Python ArcGIS SavedSearchesManager.update用法及代码示例
- Python arcgis.mapping.SceneLayerManager.delete_tiles用法及代码示例
- Python ArcGIS StoryMap.add用法及代码示例
- Python ArcGIS Server用法及代码示例
- Python ArcGIS StoryMap.credits用法及代码示例
- Python ArcGIS StoryMap.cover用法及代码示例
- Python ArcGIS Sidecar用法及代码示例
- Python ArcGIS StoryMap.get用法及代码示例
- Python arcgis.mapping.SceneLayerManager.edit_tile_service用法及代码示例
- Python ArcGIS SiteManager.get_by_domain用法及代码示例
- Python ArcGIS SiteManager.add用法及代码示例
注:本文由纯净天空筛选整理自arcgis.com大神的英文原创作品 arcgis.gis.admin.SSLCertificates.get。非经特殊声明,原始代码版权归原作者所有,本译文未经允许或授权,请勿转载或复制。