/* * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license * Click nbfs://nbhost/SystemFileSystem/Templates/GUIForms/JFrame.java to edit this template */ package ejbcagui; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; import java.util.Calendar; import java.util.Date; import javax.swing.JFileChooser; import javax.swing.JOptionPane; import javax.swing.filechooser.FileNameExtensionFilter; /** * * @author DELL */ public class MainScreen extends javax.swing.JFrame { /** * Creates new form MainScreen */ public MainScreen() { initComponents(); //-- tfURL.setText(Config.getInstance().getUrl()); tfKeyStorePath.setText(Config.getInstance().getKeyStorePath()); tfKeyStorePassword.setText(Config.getInstance().getKeyStorePassword()); tfTrustStorePath.setText(Config.getInstance().getTrustStorePath()); tfTrustStorePassword.setText(Config.getInstance().getTrustStorePassword()); tfEntityProfile.setText(Config.getInstance().getEntityProfle()); tfCertProfile.setText(Config.getInstance().getCertProfile()); tfCAName.setText(Config.getInstance().getCaName()); Calendar cal = Calendar.getInstance(); String vf = EJBCAInvocation.sdfReq.format(cal.getTime()); tfValidFrom.setText(vf); cal.add(Calendar.YEAR, 1); tfValidTo.setText(EJBCAInvocation.sdfReq.format(cal.getTime())); } /** * This method is called from within the constructor to initialize the form. * WARNING: Do NOT modify this code. The content of this method is always * regenerated by the Form Editor. */ @SuppressWarnings("unchecked") // //GEN-BEGIN:initComponents private void initComponents() { lbURL = new javax.swing.JLabel(); tfURL = new javax.swing.JTextField(); lbKeyStore = new javax.swing.JLabel(); lbKSPassword = new javax.swing.JLabel(); jLabel1 = new javax.swing.JLabel(); jLabel2 = new javax.swing.JLabel(); tfKeyStorePath = new javax.swing.JTextField(); tfKeyStorePassword = new javax.swing.JTextField(); tfTrustStorePath = new javax.swing.JTextField(); tfTrustStorePassword = new javax.swing.JTextField(); btnKeyStorePath = new javax.swing.JButton(); btnTrustStorePassword = new javax.swing.JButton(); jPanel1 = new javax.swing.JPanel(); jLabel3 = new javax.swing.JLabel(); tfEntityProfile = new javax.swing.JTextField(); jLabel4 = new javax.swing.JLabel(); tfCertProfile = new javax.swing.JTextField(); jLabel5 = new javax.swing.JLabel(); tfEntityName = new javax.swing.JTextField(); jLabel6 = new javax.swing.JLabel(); tfValidFrom = new javax.swing.JTextField(); jLabel7 = new javax.swing.JLabel(); tfValidTo = new javax.swing.JTextField(); jLabel8 = new javax.swing.JLabel(); tfSubjectDN = new javax.swing.JTextField(); jLabel9 = new javax.swing.JLabel(); jScrollPane1 = new javax.swing.JScrollPane(); taCSR = new javax.swing.JTextArea(); btnIssue = new javax.swing.JButton(); jLabel10 = new javax.swing.JLabel(); tfEmail = new javax.swing.JTextField(); tfCAName = new javax.swing.JTextField(); jLabel11 = new javax.swing.JLabel(); setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); lbURL.setText("URL"); tfURL.setText("https://ca.mobile-id.vn:8443/ejbca/ejbcaws/ejbcaws?wsdl"); lbKeyStore.setText("KeyStore"); lbKSPassword.setText("Password"); jLabel1.setText("TrustStore"); jLabel2.setText("Password"); btnKeyStorePath.setText("..."); btnKeyStorePath.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { btnKeyStorePathMouseClicked(evt); } }); btnTrustStorePassword.setText("..."); btnTrustStorePassword.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { btnTrustStorePasswordMouseClicked(evt); } }); jPanel1.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0))); jLabel3.setText("Entity profile"); jLabel4.setText("Cert profile"); jLabel5.setText("Entity name"); jLabel6.setText("Valid from"); jLabel7.setText("Valid to"); jLabel8.setText("Subject DN"); jLabel9.setText("CSR"); taCSR.setColumns(20); taCSR.setRows(5); jScrollPane1.setViewportView(taCSR); btnIssue.setText("Issue"); btnIssue.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { btnIssueMouseClicked(evt); } }); jLabel10.setText("Email"); jLabel11.setText("CA name"); javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1); jPanel1.setLayout(jPanel1Layout); jPanel1Layout.setHorizontalGroup( jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel1Layout.createSequentialGroup() .addContainerGap() .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel1Layout.createSequentialGroup() .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false) .addComponent(jLabel6, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jLabel5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jLabel3, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 84, Short.MAX_VALUE) .addComponent(jLabel4, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jLabel11, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jLabel7, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(tfEntityProfile) .addComponent(tfCertProfile) .addComponent(tfEntityName) .addComponent(tfCAName, javax.swing.GroupLayout.DEFAULT_SIZE, 197, Short.MAX_VALUE) .addComponent(tfValidFrom) .addComponent(tfValidTo))) .addGroup(jPanel1Layout.createSequentialGroup() .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(jLabel9, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jLabel10, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jLabel8, javax.swing.GroupLayout.DEFAULT_SIZE, 84, Short.MAX_VALUE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(tfSubjectDN) .addComponent(jScrollPane1) .addComponent(tfEmail, javax.swing.GroupLayout.PREFERRED_SIZE, 444, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(18, 18, 18) .addComponent(btnIssue))) .addContainerGap(62, Short.MAX_VALUE)) ); jPanel1Layout.setVerticalGroup( jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel1Layout.createSequentialGroup() .addContainerGap() .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel3) .addComponent(tfEntityProfile, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel4) .addComponent(tfCertProfile, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel5) .addComponent(tfEntityName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel11) .addComponent(tfCAName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel6) .addComponent(tfValidFrom, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(tfValidTo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel7)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel8) .addComponent(tfSubjectDN, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel10) .addComponent(tfEmail, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(btnIssue) .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel9) .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 90, javax.swing.GroupLayout.PREFERRED_SIZE))) .addContainerGap(82, Short.MAX_VALUE)) ); javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); getContentPane().setLayout(layout); layout.setHorizontalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addContainerGap() .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addContainerGap()) .addGroup(layout.createSequentialGroup() .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(lbURL, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(lbKeyStore, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(lbKSPassword, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, 95, Short.MAX_VALUE) .addComponent(jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(tfKeyStorePath) .addComponent(tfURL, javax.swing.GroupLayout.DEFAULT_SIZE, 447, Short.MAX_VALUE) .addComponent(tfKeyStorePassword) .addComponent(tfTrustStorePath) .addComponent(tfTrustStorePassword)) .addGap(18, 18, 18) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(btnKeyStorePath) .addComponent(btnTrustStorePassword)) .addGap(84, 84, 84)))) ); layout.setVerticalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addContainerGap() .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(lbURL) .addComponent(tfURL, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(lbKeyStore) .addComponent(tfKeyStorePath, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(btnKeyStorePath)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(lbKSPassword) .addComponent(tfKeyStorePassword, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel1) .addComponent(tfTrustStorePath, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(btnTrustStorePassword)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel2) .addComponent(tfTrustStorePassword, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(18, 18, 18) .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addContainerGap()) ); pack(); }// //GEN-END:initComponents private void btnKeyStorePathMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_btnKeyStorePathMouseClicked // TODO add your handling code here: JFileChooser fileChooser = new JFileChooser(); // Set dialog title fileChooser.setDialogTitle("Select a KeyStore file"); // Add filter for TXT and PDF files FileNameExtensionFilter filter = new FileNameExtensionFilter( "PKCS#12 Files (*.pfx, *.p12)", "pfx", "p12"); fileChooser.setFileFilter(filter); // Show the open dialog int result = fileChooser.showOpenDialog(null); if (result == JFileChooser.APPROVE_OPTION) { File selectedFile = fileChooser.getSelectedFile(); tfKeyStorePath.setText(selectedFile.getAbsolutePath()); } else { //System.out.println("No file selected."); } }//GEN-LAST:event_btnKeyStorePathMouseClicked private void btnTrustStorePasswordMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_btnTrustStorePasswordMouseClicked // TODO add your handling code here: JFileChooser fileChooser = new JFileChooser(); // Set dialog title fileChooser.setDialogTitle("Select a TrustStore file"); // Add filter for TXT and PDF files FileNameExtensionFilter filter = new FileNameExtensionFilter( "TrustStore Files (*.jks)", "jks"); fileChooser.setFileFilter(filter); // Show the open dialog int result = fileChooser.showOpenDialog(null); if (result == JFileChooser.APPROVE_OPTION) { File selectedFile = fileChooser.getSelectedFile(); tfTrustStorePath.setText(selectedFile.getAbsolutePath()); } else { //System.out.println("No file selected."); } }//GEN-LAST:event_btnTrustStorePasswordMouseClicked private void btnIssueMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_btnIssueMouseClicked // TODO add your handling code here: Config.getInstance().save( tfURL.getText(), tfKeyStorePath.getText(), tfKeyStorePassword.getText(), tfTrustStorePath.getText(), tfTrustStorePassword.getText(), tfEntityProfile.getText(), tfCertProfile.getText(), tfCAName.getText(), null ); if (!Utils.isNullOrEmpty(tfURL.getText()) && !Utils.isNullOrEmpty(tfKeyStorePath.getText()) && !Utils.isNullOrEmpty(tfKeyStorePassword.getText()) && !Utils.isNullOrEmpty(tfTrustStorePath.getText()) && !Utils.isNullOrEmpty(tfTrustStorePassword.getText()) && !Utils.isNullOrEmpty(tfCertProfile.getText()) && !Utils.isNullOrEmpty(tfEntityProfile.getText()) && !Utils.isNullOrEmpty(tfEntityName.getText()) && !Utils.isNullOrEmpty(tfValidFrom.getText()) && !Utils.isNullOrEmpty(tfValidTo.getText()) && !Utils.isNullOrEmpty(tfSubjectDN.getText()) && !Utils.isNullOrEmpty(taCSR.getText()) && !Utils.isNullOrEmpty(tfCAName.getText())) { try { EJBCAInvocation ejbca = new EJBCAInvocation( tfURL.getText(), tfKeyStorePath.getText(), tfKeyStorePassword.getText(), tfTrustStorePath.getText(), tfTrustStorePassword.getText(), tfEntityProfile.getText(), tfCertProfile.getText(), tfCAName.getText()); String b64Cert = ejbca.getCert( tfEntityName.getText().trim(), tfSubjectDN.getText().trim(), tfEmail.getText().trim(), tfValidFrom.getText(), tfValidTo.getText(), taCSR.getText().trim() ); JFileChooser fileChooser = new JFileChooser(); fileChooser.setCurrentDirectory(new File(Config.getInstance().getLastSaveFolder())); fileChooser.setSelectedFile(new File(tfEntityName.getText().trim() + ".cer")); // Set dialog title fileChooser.setDialogTitle("Save file"); // Show the save dialog int result = fileChooser.showSaveDialog(null); if (result == JFileChooser.APPROVE_OPTION) { File fileToSave = fileChooser.getSelectedFile(); if (!fileToSave.getAbsolutePath().endsWith(".cer")) { fileToSave = new File(fileToSave.getAbsolutePath() + ".cer"); } Files.write(Paths.get(fileToSave.getAbsolutePath()), b64Cert.getBytes()); Config.getInstance().save( null, null, null, null, null, null, null, null, fileToSave.getParent() ); JOptionPane.showMessageDialog(null, "Success", "Info", JOptionPane.INFORMATION_MESSAGE); } else { } } catch (Exception e) { e.printStackTrace(); JOptionPane.showMessageDialog(null, "Error: " + e.getMessage(), "Error", JOptionPane.ERROR_MESSAGE); } } else { JOptionPane.showMessageDialog(null, "Missing params", "Error", JOptionPane.ERROR_MESSAGE); } }//GEN-LAST:event_btnIssueMouseClicked /** * @param args the command line arguments */ public static void main(String args[]) { /* Set the Nimbus look and feel */ // /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel. * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html */ try { for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) { if ("Nimbus".equals(info.getName())) { javax.swing.UIManager.setLookAndFeel(info.getClassName()); break; } } } catch (ClassNotFoundException ex) { java.util.logging.Logger.getLogger(MainScreen.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); } catch (InstantiationException ex) { java.util.logging.Logger.getLogger(MainScreen.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); } catch (IllegalAccessException ex) { java.util.logging.Logger.getLogger(MainScreen.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); } catch (javax.swing.UnsupportedLookAndFeelException ex) { java.util.logging.Logger.getLogger(MainScreen.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); } // /* Create and display the form */ java.awt.EventQueue.invokeLater(new Runnable() { public void run() { new MainScreen().setVisible(true); } }); } // Variables declaration - do not modify//GEN-BEGIN:variables private javax.swing.JButton btnIssue; private javax.swing.JButton btnKeyStorePath; private javax.swing.JButton btnTrustStorePassword; private javax.swing.JLabel jLabel1; private javax.swing.JLabel jLabel10; private javax.swing.JLabel jLabel11; private javax.swing.JLabel jLabel2; private javax.swing.JLabel jLabel3; private javax.swing.JLabel jLabel4; private javax.swing.JLabel jLabel5; private javax.swing.JLabel jLabel6; private javax.swing.JLabel jLabel7; private javax.swing.JLabel jLabel8; private javax.swing.JLabel jLabel9; private javax.swing.JPanel jPanel1; private javax.swing.JScrollPane jScrollPane1; private javax.swing.JLabel lbKSPassword; private javax.swing.JLabel lbKeyStore; private javax.swing.JLabel lbURL; private javax.swing.JTextArea taCSR; private javax.swing.JTextField tfCAName; private javax.swing.JTextField tfCertProfile; private javax.swing.JTextField tfEmail; private javax.swing.JTextField tfEntityName; private javax.swing.JTextField tfEntityProfile; private javax.swing.JTextField tfKeyStorePassword; private javax.swing.JTextField tfKeyStorePath; private javax.swing.JTextField tfSubjectDN; private javax.swing.JTextField tfTrustStorePassword; private javax.swing.JTextField tfTrustStorePath; private javax.swing.JTextField tfURL; private javax.swing.JTextField tfValidFrom; private javax.swing.JTextField tfValidTo; // End of variables declaration//GEN-END:variables }