cloudstack/ui/images
Rohit Yadav 7ce54bf7a8 CLOUDSTACK-9993: Securing Agents Communications (#2239)
This introduces a new certificate authority framework that allows
pluggable CA provider implementations to handle certificate operations
around issuance, revocation and propagation. The framework injects
itself to `NioServer` to handle agent connections securely. The
framework adds assumptions in `NioClient` that a keystore if available
with known name `cloud.jks` will be used for SSL negotiations and
handshake.

This includes a default 'root' CA provider plugin which creates its own
self-signed root certificate authority on first run and uses it for
issuance and provisioning of certificate to CloudStack agents such as
the KVM, CPVM and SSVM agents and also for the management server for
peer clustering.

Additional changes and notes:
- Comma separate list of management server IPs can be set to the 'host'
  global setting. Newly provisioned agents (KVM/CPVM/SSVM etc) will get
  radomized comma separated list to which they will attempt connection
  or reconnection in provided order. This removes need of a TCP LB on
  port 8250 (default) of the management server(s).
- All fresh deployment will enforce two-way SSL authentication where
  connecting agents will be required to present certificates issued
  by the 'root' CA plugin.
- Existing environment on upgrade will continue to use one-way SSL
  authentication and connecting agents will not be required to present
  certificates.
- A script `keystore-setup` is responsible for initial keystore setup
  and CSR generation on the agent/hosts.
- A script `keystore-cert-import` is responsible for import provided
  certificate payload to the java keystore file.
- Agent security (keystore, certificates etc) are setup initially using
  SSH, and later provisioning is handled via an existing agent connection
  using command-answers. The supported clients and agents are limited to
  CPVM, SSVM, and KVM agents, and clustered management server (peering).
- Certificate revocation does not revoke an existing agent-mgmt server
  connection, however rejects a revoked certificate used during SSL
  handshake.
- Older `cloudstackmanagement.keystore` is deprecated and will no longer
  be used by mgmt server(s) for SSL negotiations and handshake. New
  keystores will be named `cloud.jks`, any additional SSL certificates
  should not be imported in it for use with tomcat etc. The `cloud.jks`
  keystore is stricly used for agent-server communications.
- Management server keystore are validated and renewed on start up only,
  the validity of them are same as the CA certificates.

New APIs:
- listCaProviders: lists all available CA provider plugins
- listCaCertificate: lists the CA certificate(s)
- issueCertificate: issues X509 client certificate with/without a CSR
- provisionCertificate: provisions certificate to a host
- revokeCertificate: revokes a client certificate using its serial

Global settings for the CA framework:
- ca.framework.provider.plugin: The configured CA provider plugin
- ca.framework.cert.keysize: The key size for certificate generation
- ca.framework.cert.signature.algorithm: The certificate signature algorithm
- ca.framework.cert.validity.period: Certificate validity in days
- ca.framework.cert.automatic.renewal: Certificate auto-renewal setting
- ca.framework.background.task.delay: CA background task delay/interval
- ca.framework.cert.expiry.alert.period: Days to check and alert expiring certificates

Global settings for the default 'root' CA provider:
- ca.plugin.root.private.key: (hidden/encrypted) CA private key
- ca.plugin.root.public.key: (hidden/encrypted) CA public key
- ca.plugin.root.ca.certificate: (hidden/encrypted) CA certificate
- ca.plugin.root.issuer.dn: The CA issue distinguished name
- ca.plugin.root.auth.strictness: Are clients required to present certificates
- ca.plugin.root.allow.expired.cert: Are clients with expired certificates allowed

UI changes:
- Button to download/save the CA certificates.

Misc changes:
- Upgrades bountycastle version and uses newer classes
- Refactors SAMLUtil to use new CertUtils

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-08-28 12:15:11 +02:00
..
ajax-loader-small.gif bug 12554 2011-12-16 12:21:28 -08:00
ajax-loader.gif bug 12554 2011-12-16 12:21:28 -08:00
bg-breadcrumb-project-view.png Updated header/project appearance; add new system chart view 2011-11-08 12:43:57 -08:00
bg-breadcrumb.png bug 12554 2011-12-19 18:01:31 -08:00
bg-breadcrumbs-project-view.png Updated header/project appearance; add new system chart view 2011-11-08 12:43:57 -08:00
bg-breadcrumbs.png bug 12554 2011-12-19 18:01:31 -08:00
bg-button-view-more.png Add new UI; move old UI to old/ 2011-11-03 10:59:57 -07:00
bg-details-tab-gradient.png Add new UI; move old UI to old/ 2011-11-03 10:59:57 -07:00
bg-dialog-body.png Add new UI; move old UI to old/ 2011-11-03 10:59:57 -07:00
bg-dialog-header.png Add new UI; move old UI to old/ 2011-11-03 10:59:57 -07:00
bg-gradient-white-transparent.png New install wizard styling 2011-12-22 11:38:56 -08:00
bg-gradients.png Add base VPC UI 2012-06-28 10:51:56 -07:00
bg-header.png Updated header/project appearance; add new system chart view 2011-11-08 12:43:57 -08:00
bg-install-wizard-header.jpg Update install wizard appearance 2011-11-11 19:12:12 -08:00
bg-install-wizard-header.png Update install wizard appearance 2011-11-11 19:12:12 -08:00
bg-login.jpg Add new UI; move old UI to old/ 2011-11-03 10:59:57 -07:00
bg-login.png New login BG 2011-11-03 15:25:06 -07:00
bg-naas.png Zone chart updates 2011-12-16 11:07:58 -08:00
bg-nav-item-active-project-view.png Updated header/project appearance; add new system chart view 2011-11-08 12:43:57 -08:00
bg-nav-item-active.png bug 12554 2011-12-19 18:01:31 -08:00
bg-nav-item-project-view.png Updated header/project appearance; add new system chart view 2011-11-08 12:43:57 -08:00
bg-nav-item.png bug 12554 2011-12-19 18:01:31 -08:00
bg-network-nat.png Add new UI; move old UI to old/ 2011-11-03 10:59:57 -07:00
bg-network.png Add new UI; move old UI to old/ 2011-11-03 10:59:57 -07:00
bg-notifications.png Add new UI; move old UI to old/ 2011-11-03 10:59:57 -07:00
bg-panel-shadow.png Add new UI; move old UI to old/ 2011-11-03 10:59:57 -07:00
bg-section-switcher.png Add new UI; move old UI to old/ 2011-11-03 10:59:57 -07:00
bg-status_box.png Add new UI; move old UI to old/ 2011-11-03 10:59:57 -07:00
bg-system-chart-compute.png UI: Add initial UCS section to infrastructure page 2013-07-09 13:48:48 -07:00
bg-system-chart-lines.png Add new UI; move old UI to old/ 2011-11-03 10:59:57 -07:00
bg-system-network-traffic.png Updated zone wizard / details 2012-01-23 10:53:36 -08:00
bg-table-head.png Add new UI; move old UI to old/ 2011-11-03 10:59:57 -07:00
bg-transparent-white.png -bug 12153: Properly refresh list view after performing actions in detail view 2011-11-23 14:02:54 -08:00
bg-what-is-cloudstack.png Install wizard logo text: lighten trademark text to match color 2013-02-28 15:11:30 -08:00
buttons.png Updated zone wizard / details 2012-01-23 10:53:36 -08:00
cloud.ico ui: use cloudstack logo as favicon 2015-05-03 15:24:05 +02:00
destroy-anim.gif Add new UI; move old UI to old/ 2011-11-03 10:59:57 -07:00
gradients.png bug 12554 2011-12-19 18:01:31 -08:00
header-gradient.png Add bg gradient to header 2013-10-24 16:04:51 -07:00
icons.png CLOUDSTACK-8562: DB-Backed Dynamic Role Based API Access Checker 2016-05-11 09:45:19 +05:30
infrastructure-icons.png Update infrastructure icons 2014-03-03 11:38:02 -08:00
install-wizard-parts.png Update install wizard appearance 2011-11-11 19:12:12 -08:00
instance-wizard-parts.png Add new UI; move old UI to old/ 2011-11-03 10:59:57 -07:00
logo-login-oss.png CLOUDSTACK-9020: Increase UI container width by 200px 2015-11-19 15:17:44 +05:30
logo.png CLOUDSTACK-9020: Increase UI container width by 200px 2015-11-19 15:17:44 +05:30
minus.png Merge Autoscaler UI implemetation 2012-11-16 10:56:45 +05:30
overlay-pattern.png Add bg gradient to header 2013-10-24 16:04:51 -07:00
sample-project-view.png Add new UI; move old UI to old/ 2011-11-03 10:59:57 -07:00
sprites.png CLOUDSTACK-9993: Securing Agents Communications (#2239) 2017-08-28 12:15:11 +02:00
vm-instance-screen-sample.png Add new UI; move old UI to old/ 2011-11-03 10:59:57 -07:00