New post

Find

Question
· Jan 6

Interface Behavior with invalid TLS Cert for 'Server certificate verification'

Hello,

I was just trying to get to the bottom of a TLS config - we have an interface with a TLS config that has had 'Server certificate verification' set to 'On', however the cert file specified either did not exist or contained a cert that was expired.

 

Does anyone know what the behavior is for this typically? I would expect this to not allow traffic on the interface, however this has been working fine for a few years now with an invalid cert specified for 'Server certificate verification' and set to 'On'.

 

Discussion (0)1
Log in or sign up to continue
Announcement
· Jan 6

Recapitulação do InterSystems Developer Community, Dezembro 2024

Olá e bem-vindo ao Recapitulação da comunidade de desenvolvedores Dezembro 2024.
Estatísticas gerais
20 novas postages publicadas em Dezembro:
 13 novos artigos
 6 novos anúncios
 1 nova pergunta
1 novos membros ingressaram em Dezembro
1,245 postagens publicadas ao todo
610 membros ingressaram ao todo
Principais publicações
Principais autores do mês
Artigos
#InterSystems IRIS
 
#Outro
 
#Portal de ideias da InterSystems
 
Anúncios
Perguntas
#InterSystems IRIS
 
Dezembro, 2024Month at a GlanceInterSystems Developer Community
Discussion (0)1
Log in or sign up to continue
Question
· Jan 6

Adapteur UDP ne fonctionne pas

Bonjour

J'essaie de travailler avec l'Adapteur/Connection UDP- et j'ai cette erreur .

ERREUR #5002: Erreur Cache: <WRITE>zSend+5^EnsLib.UDP.Common.1

 Voici la méthode
 

Class TEMPLATE.BO.UDPSend Extends Ens.BusinessOperation
{

Parameter ADAPTER = "EnsLib.UDP.OutboundAdapter";

Property Adapter As EnsLib.UDP.OutboundAdapter;

Method SendData(pInput As Ens.Request, Output pOutput As Ens.Response) As %Status
{
    Try {
        Set status=$$$OK
        Set pOutput=##class(Ens.Response).%New()
        
        Set stream = ##class(%Stream.GlobalCharacter).%New()
        Do stream.Write("This is some text")
        $$$LOGINFO(stream.Read())
        Do stream.Rewind()

        Set status = ..Adapter.SendStream(stream)
    }
    Catch exception {
        Set status=exception.AsStatus()
    }    
    Return status
}

XData MessageMap
{
<MapItems>
<MapItem MessageType="Ens.Request">
<Method>SendData</Method>
</MapItem>
</MapItems>
}

}

J'ai essayé avec ##class(%Net.UDP).%New() et cela fonctionne.

Quelqu'un a t'il une idée de pourquoi cela ne fonctionne pas ou des exemples d'une méthode fonctionnel, s'il vous plaît?

 

Par avance, merci


Corentin

PS : Pour ceux qui ne veulent pas explorer le code pour trouver la ligne où est généré l'erreur :

zSend(pDevice="",pBuffer) public { Set:'($data(pBuffer)#2) pBuffer=""
    Set tStatus = 1
    Try {
        Do pBuffer.Rewind()
        Use pDevice Do pBuffer.OutputToDevice()
        Use pDevice Write !
    }
    Catch eSend {
        Set tStatus = eSend.AsStatus()
    }
    Quit tStatus }
6 Comments
Discussion (6)1
Log in or sign up to continue
Announcement
· Jan 6

[Video] Security Database and Wallet - Encryption, Mirroring and More

Hey Community,

Enjoy the new video on InterSystems Developers YouTube:

⏯ Security Database and Wallet - Encryption, Mirroring and More @ Global Summit 2024

In upcoming versions security settings will be moved from the IRISSYS database to a new IRISSECURITY database. This session discusses benefits of this change including the ability to encrypt and mirror the database with the security settings. We’ll also discuss the new Security Wallet, which allows secrets (like credentials for external systems) to be stored encrypted within IRIS and only decrypted when used.

🗣 Presenters: @Jon Sue-Ho, Senior Security Engineer, InterSystems

Tune in and take your knowledge further — we’re sure you’ll enjoy it! 👍

2 Comments
Discussion (2)2
Log in or sign up to continue
Digest
· Jan 6

InterSystems Developers Publications, Week December 30, 2024 - January 05, 2025, Digest

Articles
Announcements
Questions
December 30, 2024 - January 05, 2025Week at a GlanceInterSystems Developer Community